Luis Speciale wrote:
> http://nortours.info/
> 1) Shadows in an empty div
>
> No matters what I do, I'm unable to make an empty div to vertically
> fit the parent's height. If you see it in FF, it's OK and even in IE
> 5 it works ! What is this ?
IE6' "standard mode" isn't anywhere near standard, so IE6 can only do
what you ask for when in "quirks mode". That's why older IE/win versions
appear to work as intended, since they're always in "quirks mode".
Alternative: declare the relevant height directly, like...
* html .dos {
height: 200px;
}
> 2) Fixed position With the footer. It just don't works as expected.
IE6 (and older) doesn't understand 'position: fixed' - period!
You can add the following (complete) to the very bottom of the relevant
stylesheet...
@media screen {
* html #BAS {
position: absolute;
top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop
+(documentElement.clientHeight-this.clientHeight)
: document.body.scrollTop
+(document.body.clientHeight-this.clientHeight));
height: 20px; margin: -2px 0 -50px 0;}
}
...and IE6 will behave as if it understands 'fixed'. IE has some
whitespace problems inside that footer though, so the footer will appear
a bit too tall.
See: <http://www.gunlaug.no/contents/wd_additions_15.html> for more on
that solution.
Note: you have too many nonsensical property/value mixes in there.
1: absolute and fixed positioned elements can neither float nor clear
anything, so no use floating or clearing them.
2: 100% wide elements obviously have no need for auto side-margins.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/