Is me nog nooit opgevallen..
Als ik een dikke border maak loopt deze schuin af.
Zie:
http://jsfiddle.net/qzg4nhg1/
Hoe kan ik dit oplossen?
2.325 views
<div class="window">
<div class="caption"></div>
<div class="box"></div>
</div>
body {
background-color:#EEE;
}
.window {
width:302px; /* 1 + 300 + 1 */
height:324px; /* 1 + 20 + 1 + 1 + 300 + 1 */
}
.caption{
width:300px;
height:20px;
background-color:blue;
border:1px solid blue;
}
.box{
border-left: 1px solid gray;
border-right: 1px solid gray;
border-bottom: 1px solid gray;
background-color:white;
width:300px;
height:300px;
}