In article <4vp1t8F1d29skU1 (AT) mid (DOT) individual.net>,
Bergamot <bergamot (AT) visi (DOT) com> wrote:
Quote:
Eric Lindsay wrote:
My test HTML pages contain div id="all" as a spare
container div. If I can, I would really like to get rid of it. Just
seems to me that multiplying divs every time I get stuck can not be part
of a semantic approach.
Well placed container divs merely facilitate styling that might not be
possible otherwise. If your content is still marked up with proper
headings, paragraphs, lists, etc., the semantics aren't affected. |
I can accept that well placed container divs do not affect semantics.
However when you see a site six deep in nested divs, it does make me
pause. At what stage does putting bunches of divs in for styling become
over the top? As an amateur web site writer, I certainly don't know. So
whenever I move away from divs for header, footer, main, navigation, and
a sidebar or two, I start to worry. My preference would be to write a
site without any divs in it, and use them only when all else fails,
rather than start with divs.
In my Xmas present web site, I have one page
http://www.architectqueensland.com/a.../projects.html in which I feel
I have thoroughly abused divs to generate sparkline type graphics (I was
looking at all those wonderful CSS national flags out on the web). I
think I can (sort of) defend the result as being somewhat acceptable,
but probably only because it is two hours to New Year here, and I have
been hitting the eggnog.
--
http://www.ericlindsay.com