sandy. wrote:
> http://rh-v2.cpdev.sudjam.com/plans.php?type=advanced
>
> The "order now" and credit card images are both in their own divs
> positioned relatively. They are both wrapped in a div that is
> display:block.
A div is 'display: block' by default, so no need to declare it.
> In Mozilla and Opera they position relative to this containing block
> like i desired, so when i start resizing the actual window it stays
> positioned to its parent container. But when i resize the window in
> IE it just stays in place as if its fixed and does not move with the
> layout.
IE is known to lose track of non-static element-positioning.
The trick is to make the correct container acquire Layout[1], and
establish a relation so IE know what to position relative to.
The following addition should get IE back on track...
#main_content {position: relative; height: 1%;}
regards
Georg
[1]http://www.satzansatz.de/cssd/onhavinglayout.html
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/