Hi guys,

Is there a known CSS hack to hide styles from Mozilla based browsers?

For those that are curious...

I've got a client that is hell bent on having a fixed height site (sigh).
They want the header/footer to remain fixed while the body content scrolls.

Now, this is straight forward to achieve using a frameset... but(!) frames
are evil, the site is 95% complete so i dont want to start choping it up
now... and... frames are evil.

so... i thought, using the overflow property would work nicely on the main
content DIV. Problem is, it leaves an ugly horizontal scrollbar across the
bottom. So, next best option was to use a IE only property, "overflow-y"
(not ideal, i know).

In order for the IE only overflow-y to work, i need to set a fixed height on
the DIV. This causes Moz based browsers to effectively overflow the text
OUTSIDE the boundary of the containing div. Meaning the footer now sits at
the END of the DIV, while the text overflows straight over footer (its ugly,
trust me). Opera (and hopefully other browsers) automatically resize the
height to accommodate the content (which is a reasonable compromise).

So, i could leave the IE only scroll effect in place *if* i could somehow
hide the HEIGHT property from Moz based browsers...

any ideas?
____________________________
James Silva
Web Production
Gruden Pty Ltd

Tel:   +61 02 9956 6388
Fax:   +61 02 9956 8433
Email: [EMAIL PROTECTED]
Web:   http://www.gruden.com
____________________________

*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 

Reply via email to