[oclug] OT: CSS help
Rod Giffin
rod at giffinscientific.com
Wed Jun 2 11:10:17 EDT 2004
Bob Lockie said:
>
>>>I've got the following style that doesn't work:
>>>
>>> .domainH: { color: White; background: #dcdcdc;
>>>font-weight:bold; text-align: center }
>>>
>>>and the following HTML:
>>><h1 class=domainH>Domain details</h1>
>>>
>
> The following style works:
>
>>>.domainH { color: black; background: #dcdcdc; cellspacing: 10px;
>>> border-top: #FFFFFF 1px solid; border-bottom: #000000 1px solid;
>>> border-left: #FFFFFF 1px solid; border-right: #000000 1px solid;
>>> width: 20; height: 20; text-align: center; font-weight:bold; }
>
> I've tried with and without a trailing ; a it doesn't seem to matter. --
If the first style doesn't work, insert a space between font-weight: and
bold; The spaces are important, it's what is used to parse the line.
Rod.
More information about the OCLUG
mailing list