
Originally Posted by
Twey
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.
Code:
body {
background: #ffffff url(ffodd_files/bluefog.gif) repeat;
color: #000000;
font: normal 100%/120% "Trebuchet MS", verdana, arial, sans-serif;
margin: 0;
text-align: center;
}
p {
margin: 0.5em 0;
}
h1 {
background-color: transparent;
color:#666666;
font-size: 130%;
font-weight: normal;
margin-top: 0;
}
#header,
#wrapper,
#footer {
margin-left: auto;
margin-right: auto;
text-align: left;
width: 769px;
}
#header {
background: transparent url(ffodd_files/newmast_copy.gif) no-repeat;
height: 190px;
}
#wrapper {
background: #A88528 url(ffodd_files/newbody2.gif) repeat-y 0% 0%;
padding-bottom: 0.5em;
}
#leftnav {
float: left;
width: 160px;
border: 1px solid red;
}
#content {
margin: 0 50px;
}
.pullquoteRight {
border: 2px #000;
border-style: solid none;
float: right;
margin: 0 0 1ex 1ex;
padding: 0 1ex;
width: 12em;
}
#footer{
clear: both;
background: transparent url(ffodd_files/wornfooter.gif) no-repeat;
height: 69px;
text-align: center;
}
Hope that helps,
Mike
Bookmarks