Jump to content
xisto Community
Sign in to follow this  
FLaKes

Height % In Ff Problems With Css

Recommended Posts

Does anyone know how to make the height of a div in firefox equal to the percentage you input? For example if I put <div style="height:100%; min-height:100%;">blablabla</div> the div container will only be as high as the text makes it, when in internet explorer it does make it take up 100% of the page or whatever height in percentage I input in it.by the way, html, body {} have 100% height in them, so does the container that has the div element.Example:html,body {height:100%;}#container {height:100%;}#div {min-height:100%;}the one called #div is the one I want with 100% height.Thanks for any help.

Share this post


Link to post
Share on other sites

While keeping with web standards, the height property does not support percentages.

Share this post


Link to post
Share on other sites

I had the same problem, for the longest time i couldn't figure it out, then it turned out, there was an open table tag in the CSS area. Check for open tags

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.