Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

css color override

12:21 am on Feb 23, 2003 (gmt 0)

New User

10+ Year Member

joined:Feb 22, 2003
votes: 0

does anyone know why you get a warning when you validate css code with the w3c validator when you define color: #value and background-color: #value2 and you use border-color #value2. the css validator gives a warning saying you override the default color. How can i get rid of this anoying message. If you specify another border color than the color or background color you donīt get this warning but i want the background color as border color.


9:09 am on Feb 23, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 4, 2002
votes: 0

W3C validators are extremely picky. Hence the message.

Two suggestions:

1. Change the Warnings dropdown to "most important" before validating.

2. Use [htmlhelp.com...] instead.