PHP expert |
|
<html>
<head>
<style type="text/css">
.title
{
font: 9px verdana;
font-weight: bold;
position: absolute;
top: -8px;
left: 10px;
border: 1px solid;
background: #CCC;
width: 100px;
text-align: center;
}
.content
{
font: 9px verdana;
margin-top: 20px;
position: relative;
border: 1px solid;
width: 200px;
padding: 0 10px 10px 10px;
background: #EEE;
}
</style>
</head>
<body>
<div class="content">
<div class="title">Titel</div><br />
tekst tekst tekst tekst tekst tekst tekst tekst
</div>
</body>
</html>
<html> <head> <style type="text/css"> .title { font: 9px verdana; font-weight: bold; position: absolute; top: -8px; left: 10px; border: 1px solid; background: #CCC; width: 100px; text-align: center; } .content { font: 9px verdana; margin-top: 20px; position: relative; border: 1px solid; width: 200px; padding: 0 10px 10px 10px; background: #EEE; } </style> </head> <body> <div class="content"> <div class="title">Titel</div><br /> tekst tekst tekst tekst tekst tekst tekst tekst </div> </body> </html>
|