View Single Post
11-06-2005, 07:00 AM
#5
<Isurfr> is offline <Isurfr>
Status: Member
Join date: Aug 2005
Location: w3c
Expertise:
Software:
 
Posts: 193
iTrader: 0 / 0%
 

<Isurfr> is on a distinguished road

  Old

Internet Explorer is not the only browser.
The only thing I use it for is to test pages.


When using CSS and <div></div> for positioning get into
the habbit of doubling up the <div></div> and using the
position:absolute; attribute when positioning with
<div></div>. Your suspension design will need this or will
be everywhere on other browsers. One set of <div></div>
should work but it doesn't so making doubles works well
without having to use CSS hacks.


body {
margin:0;
padding:0;
}
#container {
width: 90%;
height:90%;
margin:auto;
}
#containerB {
position:absolute;
width: 100%;
height:100%;
}
#containerB2 {
position:absolute;
width: 100%;
height:100%;
}

<div id="container">
<!-- container -->
<div id="containerB">
<div id="containerB2"></div>
</div>
<!-- container -->
</div>
_|