Hi- I'm having an issue with my text being knocked down a few spaces in Firefox. My text needs to display within an image and works great in IE. But for some reason, Firefox seems to be adding a few extra breaks, or top padding, or something, and then it pushes it out the bottom of the box (with a big gap at the top). If I fix it to work with Firefox, it doesn't work in IE and the text is over the top of the image. Please help!
Here is my code for the image/text:
<td class="MiddleTable" style="background-image: url(http://melroseintl.com/abbott/images/industrial_bg.gif); height: 415px; valign: top;">
<br>
<br>
<br>
<h2><div style="font-size: 19pt;">Industrial</div></h2>
<span class="class1">We are proud to offer a wide selection of brand name products and services to the industrial, manufacturing and service-oriented businesses. Click here to learn more about the Industrial product lines we carry along with custom services offered to fit your day to day operational needs.
</span></td>
--------CSS--------
.MiddleTable {
PADDING-RIGHT: 35px;
PADDING-LEFT: 35px;
FONT-SIZE: 12pt;
VERTICAL-ALIGN: text-top;
WIDTH: 240px;
BORDER-TOP-STYLE: none;
PADDING-TOP: 10px;
BACKGROUND-REPEAT: no-repeat;
FONT-FAMILY: Arial Narrow, Arial, Sans-Serif;
BORDER-RIGHT-STYLE: none;
BORDER-LEFT-STYLE: none;
TEXT-ALIGN: left;
BORDER-BOTTOM-STYLE: none
}
Note: This shows <br> in the html code and padding in the css....I've went back and forth with both, only one, only the other, with no luck.
Thanks for any help!
Here is my code for the image/text:
<td class="MiddleTable" style="background-image: url(http://melroseintl.com/abbott/images/industrial_bg.gif); height: 415px; valign: top;">
<br>
<br>
<br>
<h2><div style="font-size: 19pt;">Industrial</div></h2>
<span class="class1">We are proud to offer a wide selection of brand name products and services to the industrial, manufacturing and service-oriented businesses. Click here to learn more about the Industrial product lines we carry along with custom services offered to fit your day to day operational needs.
</span></td>
--------CSS--------
.MiddleTable {
PADDING-RIGHT: 35px;
PADDING-LEFT: 35px;
FONT-SIZE: 12pt;
VERTICAL-ALIGN: text-top;
WIDTH: 240px;
BORDER-TOP-STYLE: none;
PADDING-TOP: 10px;
BACKGROUND-REPEAT: no-repeat;
FONT-FAMILY: Arial Narrow, Arial, Sans-Serif;
BORDER-RIGHT-STYLE: none;
BORDER-LEFT-STYLE: none;
TEXT-ALIGN: left;
BORDER-BOTTOM-STYLE: none
}
Note: This shows <br> in the html code and padding in the css....I've went back and forth with both, only one, only the other, with no luck.
Thanks for any help!