WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Vadid HTML/CSS? Empty Vadid HTML/CSS? Mon Dec 27, 2010 3:49 pm

Guest


Guest
Alright so i have seen the W3C HTML and CSS Validators and i dont understand.
W3C has specified 16 colors that will be valid for HTML/CSS validations.If you use other ones,you dont get validation.Also if you use CSS3 then again you dont get validated.
So whats the meaning of this?

2Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Mon Dec 27, 2010 4:10 pm

ankillien

ankillien
Administrator
Administrator
I think they won't validate the color names but if you use color codes, it will validate.

As far as CSS3 is concerned, not all CSS3 properties are standardized so it won't validate even though the leading browsers support them.

3Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Wed Dec 29, 2010 10:16 pm

RockerMan

RockerMan
Technician
Technician
ankillien wrote:I think they won't validate the color names but if you use color codes, it will validate.

As far as CSS3 is concerned, not all CSS3 properties are standardized so it won't validate even though the leading browsers support them.

Yeah they will validate HEX values but wont validate something like color: dark-red.

As far as CSS3 goes, the reasson been is that IE does not yet support it, once IE supports it fully they will add full validation Wink

http://www.graphics-post.com/

4Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Thu Dec 30, 2010 2:31 am

Guest


Guest
There are CSS3 property proposals that have yet to be approved, and there are approved CSS3 properties that have yet to be given a standard format. Once W3C publishes the official CSS3 document, I suspect the validator will accept CSS3.

As for color names, I would expect the validator to support whatever names are defined in the current W3C standard. Is that not the case?

5Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Thu Dec 30, 2010 2:33 am

RockerMan

RockerMan
Technician
Technician
dion wrote:
As for color names, I would expect the validator to support whatever names are defined in the current W3C standard. Is that not the case?

Unfortunatly not Sad

http://www.graphics-post.com/

6Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Thu Dec 30, 2010 5:23 am

Guest


Guest
Since I would be shocked if the CSS validator would be incorrect for CSS2, I looked up the W3C color specifications. Only 16 color names are defined for CSS2, and the proposed CSS3 spec keeps those same 16 names. For reference:

http://www.w3.org/TR/css3-color/#html4

7Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Thu Dec 30, 2010 5:23 am

Guest


Guest
Since I would be shocked if the CSS validator was incorrect for CSS2, I looked up the W3C color specifications. Only 16 color names are defined for CSS2, and the proposed CSS3 spec keeps those same 16 names. For reference:

http://www.w3.org/TR/css3-color/#html4

Also for reference is this section in the CSS3 proposal, which states that the extended names are part of the SVG draft. That means they are nowhere near being accepted as a standard.

http://www.w3.org/TR/css3-color/#svg-color

8Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Thu Dec 30, 2010 5:08 pm

Guest


Guest
so dion i was correct right? Smile
i really dont see any meaning of the W3C validator...

9Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Thu Dec 30, 2010 7:01 pm

ankillien

ankillien
Administrator
Administrator
The validator is not meaningless. It won't validate some CSS3 and some CSS 3 properties will never be standardized since they are meaningless. So, its better not to use too much of CSS3 and stick to standardized codes Smile

10Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Fri Dec 31, 2010 2:28 am

Guest


Guest
Nick wrote:so dion i was correct right? Smile
i really dont see any meaning of the W3C validator...
You were correct that W3C only defines 16 named colors. Any beyond that are browser-specific, and of course they will not validate.

Another reason for not having more than 16 named colors is the language issue. Many of the additional named colors have multi-word names that probably make little sense to someone who only understands Kanji or Cyrillic. Very Happy

Since you can use hex and rgb numbers to achieve 16 million colors that will validate, what is the big deal here? If you want validated CSS, stop using named colors! Wink

11Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Fri Dec 31, 2010 3:15 am

Guest


Guest
dion wrote:
Nick wrote:so dion i was correct right? Smile
i really dont see any meaning of the W3C validator...
You were correct that W3C only defines 16 named colors. Any beyond that are browser-specific, and of course they will not validate.

Another reason for not having more than 16 named colors is the language issue. Many of the additional named colors have multi-word names that probably make little sense to someone who only understands Kanji or Cyrillic. Very Happy

Since you can use hex and rgb numbers to achieve 16 million colors that will validate, what is the big deal here? If you want validated CSS, stop using named colors! Wink

yeah correct Very Happy
i will be using HEX now if i understand how they work Razz

12Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Fri Dec 31, 2010 5:14 am

RockerMan

RockerMan
Technician
Technician
Nick wrote:
yeah correct Very Happy
i will be using HEX now if i understand how they work Razz

Very easy Smile

This will help you Smile
http://www.colorpicker.com/

Just substitute the color for a hex, so something like this...

Code:
border: 1px solid #373737;

Thats a dark grey, just be sure to include the hash (#) unless it won't get validated unless you using DTD 1 Wink

http://www.graphics-post.com/

13Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Fri Dec 31, 2010 6:35 pm

Guest


Guest
yea XD i know i use colorpicker Very Happy

i just want to know HOW to type a color using the numbers.
I mean,using colorpicker i know that black is #00000 but i want to know how to type a red color without using it Very Happy

14Vadid HTML/CSS? Empty Re: Vadid HTML/CSS? Fri Dec 31, 2010 8:03 pm

RockerMan

RockerMan
Technician
Technician
It's impossible to remember all of the HEX values, theres over like 10 million colors Wink

Just use the color picker, to get the hex. It's nice and quick, or if you have photoshop open you can use that Smile

http://www.graphics-post.com/

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum