Guest warriorx1 Posted March 2, 2007 Share Posted March 2, 2007 Hi all! Having a problem tracking down an error in my site. I'm kinda a style sheet n00b so I'd appreciate any help you can provide the cubecart store looks great in IE6 but in IE7 or Firefox the top banner is covered up by the rest of the site. Here's the url: http://www.yeoldechandler.com/oldestore/index.php or if you don't have the two browsers to check it out in... here are a couple of screen shots: IE6 http://www.turtleface.com/misc/yocie6.jpg Firefox / IE7 http://www.turtleface.com/misc/yocff.jpg What should I look for? Thanks again for any help you can provide. warriorx1 :blink: Quote Link to comment Share on other sites More sharing options...
Guest groovejuice Posted March 2, 2007 Share Posted March 2, 2007 In you layout.css your height for .topHeader div is 36 pixels. Try to give it a height equal to or more than your image, which is 112 px. Quote Link to comment Share on other sites More sharing options...
Guest warriorx1 Posted March 2, 2007 Share Posted March 2, 2007 thanks groovejuice! ie6 just didn't care huh lol styles sheets seem like extra work to me still. weird to me to have your page's code all spread out in multiple files when you can just use tables and whatnot to define it all on one htm page.. but I'm trying to get use to it. thanks again! warriorx1 :blink: Quote Link to comment Share on other sites More sharing options...
Guest groovejuice Posted March 2, 2007 Share Posted March 2, 2007 @warriorx1, glad to help. CSS takes some study and experience, but the time spent is well worth it. Tables are limited in their versatility, being best for guess what? Tabular data. There is talk that tables will eventually be deprecated so get on board with CSS. The ongoing headache with CSS is how it is rendered by the various browsers in use. In your case, IE6 used the height value of the image to determine the height of the div, but this is not strict CSS which Firefox (and IE7 to some degree) adhere to. I won't even talk about Safari! Even with the cross browser issues, I build all my websites with CSS, and wouldn't have it any other way. Quote Link to comment Share on other sites More sharing options...
Guest warriorx1 Posted March 2, 2007 Share Posted March 2, 2007 great points. i'll definitely heed your advice. thanks again :blink: Quote Link to comment Share on other sites More sharing options...
Guest groovejuice Posted March 2, 2007 Share Posted March 2, 2007 you're welcome :blink: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.