G
gu
Hi there. Dispite some people (cit. needed
) claiming there's no
future for semantic web, when i design a page i try to make it
semantically meaningful.
I like working on a clean html (a la csszengarden, thought it is not the
best example of semantic design) and then shape its presentation via CSS.
There are things, as you may well know, that are not easy (or
impossible) to accomplish via CSS only if you tight to a semantic
layout. Think at a simple box div ( <div class="box">i'm a box</div> )
where you want to add rounded corners or some nice extra effect. Most
solutions are based on extra divs addend within (or around) the main
div, but, needless to say this is not semantically correct as
"toprightcorner" does not carry any information that is not merely
presentational.
My solution (used in a couple of upcoming files) has been using
"presentational javascript". Taking advantage of jQuery, i write a
clean, semantic-consistent page, then, with a js script, i add the extra
stuff (like those said extra-div for every .box div), and i cook
everything with CSS.
Does this make any sense?
future for semantic web, when i design a page i try to make it
semantically meaningful.
I like working on a clean html (a la csszengarden, thought it is not the
best example of semantic design) and then shape its presentation via CSS.
There are things, as you may well know, that are not easy (or
impossible) to accomplish via CSS only if you tight to a semantic
layout. Think at a simple box div ( <div class="box">i'm a box</div> )
where you want to add rounded corners or some nice extra effect. Most
solutions are based on extra divs addend within (or around) the main
div, but, needless to say this is not semantically correct as
"toprightcorner" does not carry any information that is not merely
presentational.
My solution (used in a couple of upcoming files) has been using
"presentational javascript". Taking advantage of jQuery, i write a
clean, semantic-consistent page, then, with a js script, i add the extra
stuff (like those said extra-div for every .box div), and i cook
everything with CSS.
Does this make any sense?