Should I assign height?
Posted: 17 April 2008 01:06 PM   [ Ignore ]
Newbie
Rank
Total Posts:  6
Joined  2008-03-20

This is going to sound weird, but I got something working in IE that I can’t seem to get working in FF.  As long as I can remember I’ve been setting height to a certain number of pixels so each page is the same size (length-wise) regardless of where you go to on a site.  But I finally ran into a site that has drastic differences in content sizes and I want my pages to fluctuate based on how much content is needed.


I can set height: 100% and everything looks fine in IE7 but in FF nothing will even show up.  However, I can set height to 1000px and it looks great but I would have to go page by page to change the height.


Any ideas?

#middle {
         
background-imageurl('../images/panel-top-bkg2.png');
         
background-repeatrepeat-y
         
width978px
         
behaviorurl(iepngfix.htc);
         
height1100px;
         
Profile
 
 
Posted: 02 May 2008 06:57 PM   [ Ignore ]   [ # 1 ]
Member
Avatar
RankRankRank
Total Posts:  52
Joined  2007-11-08

FF takes the height specified. IE will stretch the container’s height to accommodate for excessive contents, but FF won’t. So you have to be very careful with this. Do not specify any height for your container if you wish it to be flexible along with the contents.

Profile