Jag var också tvungen att göra ett försök. Finns ett litet problem i IE6 som jag inte hinner kika på nu. Men tror lösningen blev lite "renare" i alla fall. Jag använde mig lite mer av absolut positionering för att sätta saker på sin plats, vilket krävde färre divvar. Om man skiter helt i IE6 kan man även ta bort den inre content-divven och sätta paddingen på remoteboxen:
Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
* "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Blarf</title>
<style type="text/css">
<!--
div.box1 {
*width: 400px;
}
div.box2 {
*width: 300px;
}
div.remoteBox {
*background: url(http://www.bredbandsbolaget.se/wps/themes/html/B2_Black_v3/images/boxes/remote_box.gif) 0 0 no-repeat;
*position: relative;
*font-size: 10px;
*line-height: normal;
}
div.remoteBox div.content {
*padding: 24px;
}
div.remoteBox div.rightSide {
*background: url(http://www.bredbandsbolaget.se/wps/themes/html/B2_Black_v3/images/boxes/remote_box.gif) 100% 0 no-repeat;
*width: 24px;
*height: 100%;
*position: absolute;
*top: 0;
*right: 0;
}
div.remoteBox div.bottom {
*background: url(http://www.bredbandsbolaget.se/wps/themes/html/B2_Black_v3/images/boxes/remote_box.gif) 0 100% no-repeat;
*width: 100%;
*height: 12px;
*position: absolute;
*bottom: 0;
*left: 0;
}
div.remoteBox div.bottomRightCorner {
*background: url(http://www.bredbandsbolaget.se/wps/themes/html/B2_Black_v3/images/boxes/remote_box.gif) 100% 100% no-repeat;
*width: 24px;
*height: 12px;
*position: absolute;
*bottom:0;
*right: 0;
*z-index: 100;
}
-->
</style>
</head>
<body>
*<!--BOX 1-->
*<div class="remoteBox box1">
* <div class="rightSide"></div>
* <div class="content">
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* </div>
* <div class="bottomRightCorner"></div>
* <div class="bottom"></div>
*</div>
*<!--BOX 2-->
*<div class="remoteBox box2">
* <div class="rightSide"></div>
* <div class="content">
* *EN HELT ANNAN BOX!<br />
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* *TEST!<br />
* *<img src="image/portfolio/tff.jpg" /><br />
* *JAHA<br />
* </div>
* <div class="bottomRightCorner"></div>
* <div class="bottom"></div>
*</div>
</body>
</html>