[idldoc] css w3c

Michael Galloy mgalloy at idldev.com
Thu Dec 6 08:26:27 PST 2007


On Dec 5, 2007, at 4:45 AM, Françoise Pinsard wrote:
> Here are the some differences of some css files in order to be W3c
> compliant on css
>
> (see http://jigsaw.w3.org/css-validator/)
>
> diff resources/listing.css resources_pasw3c/listing.css
> 13c13
> <   font-family: Verdana, Helvetica, sans-serif;
> ---
>>  font-samily: Verdana, Helvetica, sans-serif;
>
> diff resources/main.css resources_pasw3c/main.css
> 88c88
> < div.header h2 { color: white; margin-top: 0; margin-bottom : 1em;
> font-weight: normal; font-style: italic; font-size: 100%; }
> ---
>> div.header h2 { color: white; margin-top: 0; margin-bottom 1em;
> font-weight: normal; font-style: italic; font-size: 100%; }

Fixed both of these.

> there are still some warnings in main.css :
>
> 26 	 	Same colors for color and background-color in two contexts
> table.navbar td.selected and p.categories
> 27 		Same colors for color and background-color in two contexts
> table.navbar td.selected and span.file_attribute
> 31 		Same colors for color and background-color in two contexts
> table.navbar td.selected and div.routine-details span.routine- 
> attributes
> 33 		Same colors for color and background-color in two contexts
> table.navbar td.selected and div.details dt span

I'm not sure why this is a warning. Yes, the color of some elements is  
the same as the background color of other elements. Is this just  
something to "keep an eye on" when writing HTML, so as not to mix  
these elements (and get unreadable text)?

Mike
--
www.michaelgalloy.com




More information about the idldoc mailing list