You are here: Proper order for settings to CSS border selector « HTML « IT news, forums, messages
Proper order for settings to CSS border selector

Posted by joshbeall on 01/31/51 11:53

Hi All,

I recently had someone look at a stylesheet I had written up, and they
gave me a slap on the hand for putting something like this:

div.someclass {
border: 1px red solid;
}

They said it was not the proper order. Fair enough, so I made it this:

div.someclass {
border: 1px solid red;
}

Which is, I'm told, the correct order.

However, I then heard from another miscellaneous site* that the order
doesn't matter.

So, who is correct? Can anyone point me to the relevant portion of the
specs that would say who is correct?

-jb


*Item number 3 from this page:
http://www.evolt.org/article/Ten_CSS_tricks_you_may_not_know/17/60369/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация