[thelist] preventing a CR in when using different colours in a paragraph
Boris Mann
boris at bmannconsulting.com
Thu Jul 3 10:46:44 CDT 2003
On Thursday, July 3, 2003, at 11:28 AM, David Turner wrote:
> the text now appears on one line, but i cannot get the font colour to
> change. i wonder if this is because the text is inside a form inside a
> table.
>
> could somebody have a look at www.dbass.org
You've defined your style at the top like this:
div.telephoneText {
font-family: Verdana, Arial ;
text-align: left ;
color: white ;
font-size: 10px
}
But are using a span. To make the class "telephoneText" apply to *any*
element, simply remove the "div" at the beginning, like so --
.telephoneText {
...
}
If you do the same for all classes, you can apply them to any elements
you want.
--
Boris Mann
http://www.bmannconsulting.com
More information about the thelist
mailing list