Reply to Re: A question about XHTML 2.0

Your name:

Reply:


Posted by Mark Parnell on 02/02/06 08:07

Deciding to do something for the good of humanity, John Salerno
<johnjsal@NOSPAMgmail.com> declared in alt.html:

> But I was wondering, if you use this
> method, how would it be possible to style nested <h> elements within a
> section?

The same as you style nested elements now.

> Will all of the <h> elements look the same?

I wouldn't think so.

> Or does their appearance
> depend on how far inside a section they are?

You mean how far down they are nested? Or how much other content is
between <section> and <h>? If the former, the answer is yes.

> But if
> CSS is used to style them, how do you distinguish between the different
> ones if they are all <h>?

h {...}
h h {...}
h h h {...}
etc.

> It doesn't seem convenient to have to give
> them all ids or classes.

Depending on the structure of your pages, it can be useful to have ids
on all your headings to allow linking directly to them. But no, there's
not much point purely for styling purposes.

--
Mark Parnell

I give up:
http://blinkynet.net/comp/uip5.html

[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

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