quasar
12-12-2005, 02:01 PM
I'm having an issue with trying to get my background images to display right in a new site I'm building.
The site is: http://www.qh-mail.com/
As you can see, in Firefox, nothing's wrong with the layout (I hope :eek: !)
In IE6, it drops a gap between the background images of the header section and the remainder of the content below. It's about 2px.
I've been tearing my hair out trying to fix the problem. I had the problem once before and solved it, made a few changes to other areas of the site, cam back to it today (about a week later) and realised that the problem has redeveloped.
Check the page source out and the following is the relevant section of my css file:
table.info {
padding: 5px 5px 5px 5px;
background-color: White;
border-style: solid;
border-color: Black;
text-align: justify;
border-width: 1px;
vertical-align: top;
}
/* This is for the main text table, not the info */
table.main {
padding: 0px;
background-color: white;
vertical-align: top;
border: none;
}
td.logo {
background: url('../images/logo_ban.gif') no-repeat;
border: none;
padding: 0px 0px 0px 0px;
text-align: left;
height: 111px;
}
td.banner {
background: url('../images/right_ban.gif') no-repeat;
border: none;
padding: 0px 0px 0px 0px;
text-align: right;
vertical-align: bottom;
height: 111px;
}
td.spacer {
border: none;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
height: 29px;
width: 100%;
}
td.t_nav {
border: none;
padding: 0px 0px 0px 0px;
text-align: center;
width: 100px;
height: 28px;
}
a.t_nav:link, a.t_nav:visited {
display: block;
background: url(../images/nav_button.gif) no-repeat;
vertical-align: middle;
font-size: 11px;
font-weight: bold;
color: #00008B;
text-align: center;
padding-top: 7px;
height: 21px;
width: 100px;
text-decoration: none;
}
a.t_nav:hover {
background-position: 0px -28px;
text-decoration: none;
color: #191970;
}
td.top {
vertical-align: top;
}
Any suggestions? That is, apart from a big hammer? :(
The site is: http://www.qh-mail.com/
As you can see, in Firefox, nothing's wrong with the layout (I hope :eek: !)
In IE6, it drops a gap between the background images of the header section and the remainder of the content below. It's about 2px.
I've been tearing my hair out trying to fix the problem. I had the problem once before and solved it, made a few changes to other areas of the site, cam back to it today (about a week later) and realised that the problem has redeveloped.
Check the page source out and the following is the relevant section of my css file:
table.info {
padding: 5px 5px 5px 5px;
background-color: White;
border-style: solid;
border-color: Black;
text-align: justify;
border-width: 1px;
vertical-align: top;
}
/* This is for the main text table, not the info */
table.main {
padding: 0px;
background-color: white;
vertical-align: top;
border: none;
}
td.logo {
background: url('../images/logo_ban.gif') no-repeat;
border: none;
padding: 0px 0px 0px 0px;
text-align: left;
height: 111px;
}
td.banner {
background: url('../images/right_ban.gif') no-repeat;
border: none;
padding: 0px 0px 0px 0px;
text-align: right;
vertical-align: bottom;
height: 111px;
}
td.spacer {
border: none;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
height: 29px;
width: 100%;
}
td.t_nav {
border: none;
padding: 0px 0px 0px 0px;
text-align: center;
width: 100px;
height: 28px;
}
a.t_nav:link, a.t_nav:visited {
display: block;
background: url(../images/nav_button.gif) no-repeat;
vertical-align: middle;
font-size: 11px;
font-weight: bold;
color: #00008B;
text-align: center;
padding-top: 7px;
height: 21px;
width: 100px;
text-decoration: none;
}
a.t_nav:hover {
background-position: 0px -28px;
text-decoration: none;
color: #191970;
}
td.top {
vertical-align: top;
}
Any suggestions? That is, apart from a big hammer? :(