View Full Version : Please Help!!
07-01-2005, 08:23 PM
This seems like an odd 'un to me.
In firefox there's a big gap between the header, the content and the footer divs. If you put a border round each div, then the gap goes away. Which would be fine if I wanted a border on it, unfortunately...
If you remove the image in the content div it seems ok in FF.
The site looks how I want it in IE, and I can't for life of me see what teh problems is
So can anyone of you, with way better css skills than I, see what the problem is?
Thanks a million
07-01-2005, 08:34 PM
A kludge fix would be to add a 1px border that is the color of the background of the page.
07-01-2005, 08:39 PM
I thought of that, but the background image has a gentle fade, so the colours don't line up right.
I keep staring at the CSS figuring it's something really obvious, but I still can't see it
Hmm. Have you tried altering the margin?
07-01-2005, 08:45 PM
yep - every which way but loose!
It's really starting to do my head in
I guess I'll just start from scratch and see if a stupid error crept in somewhere. Never had this problem before
No, no need for that. Set border-style to "hidden." The difference between hidden and none is that hidden does everything as if the border was there - it just doesn't show the border.
07-01-2005, 09:06 PM
Doesnt work though unfortunately. As soon as the border is hidden the gap reappears.
All very odd - I usually have a problem getting pages to look good in IE rather than this way round!
That is very strange. border-style: hidden should perform just like border-style: solid. Did you set all the other border-related options the same?
If so, that might be a bug.
07-01-2005, 09:45 PM
Set border-style to "hidden." The difference between hidden and none is that hidden does everything as if the border was there - it just doesn't show the border.The hidden value is the same as none, except with tables where it has different semantics for border-conflict resolution.
The problem is with margins, but not the ones you're thinking about. The gap between header and content is caused by the margin on the heading element, and the gap between content and footer is caused by the margin on the last paragraph.
The style sheet below fixes this and a few other problems. One thing I would like to draw attention to is the pullquoteRight class. The alterations there allow greater flexibility when used with non-standard font sizes. Compare the behaviour of the two by pressing Ctrl++ (control-plus) in Firefox and you'll see overflow in yours.
background: #ffffff url(ffodd_files/bluefog.gif) repeat;
font: normal 100%/120% "Trebuchet MS", verdana, arial, sans-serif;
margin: 0.5em 0;
background: transparent url(ffodd_files/newmast_copy.gif) no-repeat;
background: #A88528 url(ffodd_files/newbody2.gif) repeat-y 0% 0%;
border: 1px solid red;
margin: 0 50px;
border: 2px #000;
border-style: solid none;
margin: 0 0 1ex 1ex;
padding: 0 1ex;
background: transparent url(ffodd_files/wornfooter.gif) no-repeat;
}Hope that helps,
07-07-2005, 05:08 PM
Thanks for that - I'm going to give it a go now
07-07-2005, 05:14 PM
You Sir, are a genius.
I'm making the transistion from Table to full CSS layouts, and as you can see, not all that sucessfully. This forum is a great place to learn though.
Now I need to site down and analyse your code, so that I understand it
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.