Forum Moderators: not2easy
Here's a little snippet of the relevant code:
td#navbar{
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
background-image: url(images/navbarbg.gif);
}
.login{
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:18px;
font-weight:bold;
color:white;
margin-left:40px;
display:inline;
}
Then I have this:
<tr>
<td id="navbar" colspan="2">asdf<div class="login">needs to be larger</div></td>
</tr>
I ran your code as given (adding only <table></table>) and it displayed correctly in IE, Firefox and Opera on win98se.
I switched font-sizes and the font sizes switched correctly.
What am I doing right/wrong?
Have you run it exactly as posted or is there some other code that might be an influence?
Which browser(s)/OS have you had the prob show up in?
td#navbar .login {
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:18px;
font-weight:bold;
color:white;
margin-left:40px;
display:inline;
} This may be awkward, however, if you are reusing the
.login style elsewhere outside of the navbar td.
td#navbar a{
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
color:white;
text-decoration:none;
text-indent:30px;
}
td#navbar a:hover{
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
color:yellow;
text-decoration:none;
}
.login{
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color:white;
margin-left:40px;
display:inline;
background-image: url(images/navbarbg.gif);
}
.login a{
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color:white;
display:inline;
}
.login a:hover{
font-family:Geneva, Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color:yellow;
text-decoration:none;
display:inline;
}
encyclo,
I'm going to try what you have.