On 11 Apr 2005 04:06:49 -0700, in
comp.infosystems.
www.authoring.stylesheets oo***@gmx.net (Henk) wrote:
| Hi,
|
| I am a beginner at CSS and think there is a big disadvantage using
| DIVs in combination with CSS.
|
| What I see happening, on sites like CSS Zen Garden etc is the
| following. People claim that CSS really make up your page-layout. But
| I think it doesn't. The reason is the DIV's that are used. They
| actually FIX the layout on a page as they get marked up in the
| .html-file, and dus not maintained in the central .css-file. The
| nesting of DIV's is a way of FIXING the layout, so this is bad I
| guess.
|
| I am tending to have one big .html-file with all DIV's unnsted placed
| in one line. Can any-one explain?
Think of a DIV as a container. It can be as simple as:
<DIV id=one>
....some text
</DIV>
to more complicated
<DIV id=WholePage>
<DIV id=leftColumn>
<DIV id=Menu>
...menu Items
</DIV>
</DIV>
<DIV id=rightColumn>
<DIV id=Contents>
...some text
</DIV>
</DIV>
</DIV>
A table uses TRs and TDs to position the data.
CSS: on the Zen Garden site people submit their pages. This way they
only have to upload a single (and complete) file.
Normally I have an external stylesheet that controls the main format
of the site. But there are instances where I want to have specific
formating on an individual page, therefore I have and internal (as
well as the external) style defined.
---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------