Hey, My site, [url]http://www.sixfoottallrabbit.co.uk/cssstyles/gradient/[/url], looks really crap in IE coz all the sizes are messed up and stuff. It looks good in Firefox. What do I need to change in the CSS? Thanks.
@sftrprodauthorJul 25.2005 — #I took out the top: 13px in each of the main divs. What they were originally meant to get rid of the gap between each of them in firefox, which I have now just realised arn't in IE so that messed it up some more in IE. But now I looked at FF again and there is no gap between the content and the footer. Why not? It's in the same situation as the header and the content. :S
@NogDogJul 25.2005 — #A quick scan of the stylesheet suggest to me that the problem may be a result of not explicitly defining all the margins and/or paddings for the elements in question. My experience would seem to indicate that not all browsers use the same default values for margins and/or padding, so if you want two elements to be joined with no space, make sure the relevant margins are set to 0, don't assume they'll be 0 if you don't specify it.
@sftrprodauthorJul 25.2005 — #I know why I'm getting that space beneath the title on IE now, but still don't know how to solve it. It will be because, before I move the actual title image (not the title background image) up, the title images is actually in that space. You'll see I move the title image up by 73px to make it go over the title background. IE still thinks the title image is there, while FF knows that it has moved.
I still do not understand how to resolve the problems with the space between header and content divs and the problem with the buttons being in the wrong place.
@NogDogJul 25.2005 — #OK, I played around with this a bit and ended up simplifying a lot of the CSS as well as the HTML in the header section. See if this is more like what you want:
@NogDogJul 25.2005 — #Hmmm...that's weird. Now I've found another reason to dislike IE. I did a "Save as..." and specified "Web page, complete" for file type (so that it would save the CSS file, too), [i]and it changed the doctype![/i] What the **** were the M$ coders thinking? I wonder what else it changed? (In fact, on closer review it look like it changed tag names to upper-case among other things I haven't yet detected).