Topic: Color attributes with 3 characters? Pages that link to <a href="https://ozoneasylum.com/backlink?for=9679" title="Pages that link to Topic: Color attributes with 3 characters?" rel="nofollow" >Topic: Color attributes with 3 characters?\

 
Author Thread
krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

IP logged posted posted 08-24-2003 22:44 Edit Quote

I haven't done much design lately and as a result, I haven't kept caught up.

Some of the newer sites I've seen use 3 characters for their color attributes instead of 6. What's the dealio?

:::11oh1:::

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 08-24-2003 23:08 Edit Quote

It's only allowed in CSS, but using 3 hex numbers is a shortcut for 6, like this:

#369 -> #336699

#17A -> #1177AA

It's just shorthand.

krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

IP logged posted posted 08-24-2003 23:10 Edit Quote

Ah, cool Slime. That's kinda what I figured but I thought I'd ask the pros.

:::11oh1:::



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu