Reply to Re: "span.webdeveloper-div-order {" Whats this?

Your name:

Reply:


Posted by Mike Barnard on 03/04/07 11:08

On Sat, 03 Mar 2007 18:21:19 +0000, Steve Pugh <steve@pugh.net> wrote:

>Mike Barnard <m.barnard.trousers@thunderin.co.uk> wrote:
>
>>Yes, I've googled. Found the phrase sparingly but no explanation. So,
>>whats it for please? It's the first line in a css file I'm looking
>>at.
>
>span.webdeveloper-div-order is a CSS selector.
>span is a selector for the span HTML element and the dot denotes a
>class, in this case that selector selects all span elements of the
>class webdeveloper-div-order. i.e. it matches the HTML <span
>class="span.webdeveloper-div-order">...</span>
>
>> It has loads of colours like this in the statement.
>>
>>background-color: #ffff99 !important;
>
>And those are the styles.
>
>CSS rules take the form
>selector { property: value;}
>
>In thise it's setting the background-color property for the above
>mentioned HTML elements. The !important is an instruction that raises
>declaration above the normal specificity order and is used to avoid
>clashes with declarations from elsewhere in the cascade.
>
>CSS: http://www.w3.org/Style/CSS/
>
> Steve

I see. Thanks for the in depth breakdown. I have a LOOOOOTTT to
learn yet, if ever.

[Back to original 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

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