Hallo,
kennt jemand dafür eine Lösung. Beide absoluten Layer werden schön am Container ausgerichtet. Leider ist dies nicht mehr der Fall sobald im IE der Schriftgrad verändert wird.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>xxxx</title>
<style type="text/css" media="screen,projection" title="Druckvorschau-semantic-Test">
/*<![CDATA[*/
html,body {
margin: 0;
padding: 3px;
background-color: #DDDDDD;
color: #000000;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 100.01%;
}
/***************************************/
#site { /* variabler Port fuer die folgenden absoluten Layer*/
position: relative;
/* max-width: 69em;
min-width: 46em;
*/ width: 25em;
margin: 0 auto;
border: 1px solid #000000;
padding: 5px 0 0 0;
background-color: #FFFFFF;
}
#lt, #rb { /* links-oben / rechts-unten */
position: absolute;
width: 3em;
height: 3em;
background-color: #FF9900;
}
#lt {
top: 0px;
left: 0px;
}
#rb {
right: 0px;
bottom: 0px;
}
/***************************************/
p {
height: 7em;
}
/*]]>*/
</style>
</head>
<body>
<div id="site">
</p>
<div id="lt"></div>
<div id="rb"></div>
</div>
</body></html>