Jump to content

top banner covered in firefox/ie7, ok in ie6


Guest warriorx1

Recommended Posts

Guest warriorx1

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:

Link to comment
Share on other sites

Guest groovejuice

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.

Link to comment
Share on other sites

Guest warriorx1

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:

Link to comment
Share on other sites

Guest groovejuice

@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. :blink: 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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...