You are here: Re: css recursion « HTML « IT news, forums, messages
Re: css recursion

Posted by Adrienne Boswell on 06/17/07 02:21

Gazing into my crystal ball I observed "Jon Slaughter"
<Jon_Slaughter@Hotmail.com> writing in
news:PTMci.33400$Um6.10018@newssvr12.news.prodigy.net:

>> Your example above does not seem like it has semantic structure, it
>> seems like div soup. It looks like some hierachial structure, so
>> might be more suited to list markup and/or headings instead of nested
>> divs.
>>
>
> no semantic structure? Its a nested set of divs... thats the
> structure.

A div is a division, or can be used as a generic block container. So if
you have: <div id="menu"></div><div id="content"></div> makes more sense
semantically.

> You are right about the hierarchial structure and I did
> think about lists and maybe thats a better way to go but I feel that
> its probably equivilent to the divs as I wouldn't really gain much
> advantage using them(except maybe the automatic indention.

The automatic indentation doesn't mean s--t to a tree. The important part
is the _meaning_ of the text, and what element(s) best express that
meaning.

>
>> Think about the structure of the page, and then style it accordingly.
>
> huh?
>

When markup is done semantically, it makes CSS a lot easier, because you
are already thinking that way. Everything has a place, and everything in
it's place.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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