Reply to Re: CSS Newbie

Your name:

Reply:


Posted by Martin Jay on 04/16/06 16:38

In message <op.s73qmzcsl8uz2z@zoete_b>, Barbara de Zoete
<trashbin@pretletters.net> writes
>On Sun, 16 Apr 2006 14:58:54 +0200, Martin Jay
><martin@spam-free.org.uk> wrote:

>>> As I'm just learning CSS I'm still learning all the tags. By the
>>>way, when
>>> you say elements are these things like "footer, header, etc?"
>>
>> Yes. Something like:
>>
>> .footer{
>> border: 1px Red Solid;
>> }
>
>[ ... ]
>
>> You can also do the same with HTML tags. For example:
>>
>> p{
>> border: 1px Red Solid;
>> }

>You're confusing elements with which you markup a page, and selectors
>you use in your stylesheets. [.footer] Is a selector. A class selector
>to be more specific, as #footer would be a selector for an id. p Is
>just a selector, in this case to make the styles applicable on all
>parageraph elements in a html page. Those paragraph elements you mark
>up with tags like <p>In here you can put the text for a paragraph.</p>.

>Selectors, elements, tags. Different things and because creating pages
>and layout quite technical, it is a good thing to use these names
>correctly.

Thank you for your concise explanation. As I was typing I thought
someone might pick me up on it, especially as this is alt.html. :)
--
Martin Jay

[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

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