I have a simple problem trying to set the width in <a> tags in FF and I can't figure it out. Everything looks fine in IE. I have a horizontal list of links, and I want each one to be 110px wide. In IE I get this (which is what I want)
But in FireFox, it looks like this:
Here's the CSS I'm using:
And here's the HTML:
Any ideas as to what I'm doing wrong that FF doesn't recognize the width? I tried adding 'style="width:110px"' directly to the <a> tags, but that didn't work. I tried "display: block;" in my CSS, but that just put it in a verticle row. What am I missing?
Hope This Helps!
ECAR
ECAR Technologies
"My work is a game, a very serious game." - M.C. Escher
Code:
Link 1 - Link 2 - Link 3 -
Code:
Link 1-Link 2-Link 3-
Here's the CSS I'm using:
Code:
.NavHeader{
background-color: #B5A68C;
border-bottom: 1px solid Black;
border-top: 1px solid Black;
height: 22px;
}
.NavHeader A {
text-decoration: none;
color: Maroon;
border: 1px solid #B5A68C;
width: 110px;
}
.NavHeader A:Hover {
color : white;
background-color: Maroon;
border: 1px solid black;
text-decoration: none;
}
Code:
<tr>
<td colspan="2" align="center" class="NavHeader">
<a href="index.cfm">Link 1</a> -
<a href="index.cfm">Link 2</a> -
<a href="index.cfm">Link 3</a> -
</td>
</tr>
Hope This Helps!
ECAR
ECAR Technologies
"My work is a game, a very serious game." - M.C. Escher