2 replies [Last post]
acoustika
Offline
newbie
Last seen: 11 years 25 weeks ago
Joined: 2006-12-01
Posts: 10
Points: 0

hey there.....

Been messing with a site I'd like to make tableless....
Now i have a problem in firefox...
when my content is to big for my main gray div box i would like it to expand...
How can i achieve this in firefox...

the page can be viewed here

there's not much content right now but try making your window small enough you see that my menu does NOT make my main gray box expand...
How can I achieve that???

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 15 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

You need to hide height: 90%

You need to hide height: 90% from browsers that understand min-height. In other words, the only browsers that should see height: 90% are IE<=6. So you either use conditional comments for IE or use something like the Holly hack:

* html #main { height: 90% }

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

acoustika
Offline
newbie
Last seen: 11 years 25 weeks ago
Joined: 2006-12-01
Posts: 10
Points: 0

Thanks

Wauw...... Those lines really tought me something Wink
Thanks for that.......
Have given up before on css but I just know it's better so really want to get deeper into it....
Thanks alot Wink