Reply to Re: new CSS tutorial

Your name:

Reply:


Posted by Andy Mabbett on 08/08/06 07:44

In message <1154948905.919964.315640@m79g2000cwm.googlegroups.com>, Andy
Dingley <dingbat@codesmiths.com> writes

>
>Andy Mabbett wrote:
>
>> What's the point of:
>>
>> <div id="header">xnot.org</div>
>>
>> when we have <Hn> tags?
>
><h*> tags can be repeated. Their "headerness" is an attribute.

Not disputed (though I always use only one H1 per page)

><div id="header"> can't be repeated.

Also not disputed, but irrelevant on the case cited.

>So it's quite reasonable to
><div id="header">xnot.org</div>

Disputed.

>or indeed
><div id="header"><h1>xnot.org</h1></div>

Better; but why not

<h1 id="header">xnot.org</h1>

>If you look at a more complex potential case it might be more obvious
>why this is useful to web design:
>
><div id="header">
><h1>XNot - Not just your usual X!</h1>
><p class="url" >xnot.org</p>
></div>
>
><div id="body">
><h2>Some Stuff</h2>
>[...]
></div>

Both irrelevant to the case under discussion


--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>

Free Our Data: <http://www.freeourdata.org.uk>

[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

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