I am working on a skin for DotNetNuke and I am having a problem with setting the height to 100% of one of my Divs. I have done some research and I understand the parent Div needs a height for my sub Div to be set to 100%, however my parent Div is set to 100% and then the body Div is set to 100% and this is still not working. My boss hasn't given me much time on this project and I really need help ... gotta love how people that don't understand IT work set the deadlines. Attached is my code. What I am trying to do is simply have one main Div in the center of the browser window and 2 divs, one on either side that has a gradient to help the box stand out more. Any thoughts or help would TOTALLY be appreciated!
Jump to Post
Here is what I changed (assuming you are not working in Quirks mode which messes everything up). You not only need height on the body but you also need height on the html element (silly I think but it's key). Also you need to remove the
All 7 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.