Code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<style type="text/css">
#bloc {
position:relative;
width:200px;
height:100px;
padding:6px;
}
#bloc .tl, #bloc .tr, #bloc .bl, #bloc .br {
position:absolute;
width:5px; height:5px;
display:block;
overflow:hidden;
border: 1px solid black;
}
#bloc .tl { top:0; left:0; border-right:0; border-bottom:0;}
#bloc .tr { top:0 ; right:0; border-bottom:0; border-left:0 }
#bloc .bl { bottom:0 ; left:0; border-top:0; border-right:0 }
#bloc .br { bottom:0 ; right:0; border-left:0; border-top:0}
</style>
</head>
<body>
<div id="bloc">
<b class="tl"></b><b class="tr"></b>
<b class="bl"></b><b class="br"></b>
texte a la con
</div>
</body>
</html>
|