| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 16
|
css layout help
A current project still looks good in FF but recently went awry in IE6 (and I dont have IE7 to check) tmt dot previews dot aesthetia dot net login: preview pass: aesthetia It would be awesome if someone could take a look at my css and tell me why the right side content and footer disappear in IE6. I have tried a lot of different things including various container widths, visible overflows, and more. Thanks alot in advance! And please dont tell me to go read a css book. I have read css books and I still cant figure out the problem. |
|
|
|
|
|
#8 (permalink) |
|
Senior Member
|
For a start you should be using div id instead of div class to reference your div's in the markup. I dont think thats whats causing the problems tho. As you've specified float:left on the leftContainer you don't need to specify float right on the rightContainer. Also specifying widths on two elements floated next to eachother seems to cause problems sometimes. I'd keep the width on the leftContent and specify width:auto in the right content. If it still doesn't work put in left-margin:221px in the rightContent to push it into place. As for the footer, is there any real need to specify 900px with in the footer container? I try to stay clear of specifying widths unless I really have to because it can cause problems in ie. Let me know if this has helped. |
|
|
|
#9 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 16
|
@bazzle Thanks for the tips! Those combined with an extra close tag that I removed have fixed half the problem. Now its just the footer thats missing in IE. My guess is I have an extra close tag in the footer.tpl file so I am going to check that out. |
|
![]() |