D
dorayme
Frank Olieu said:_ironcorona_ skrev | wrote | écrivit (24-05-2006 18:52):
Why use <h> and <p> when you can use <div class="heading"> and <div
class="paragraph"> ;-)
!
Frank Olieu said:_ironcorona_ skrev | wrote | écrivit (24-05-2006 18:52):
Why use <h> and <p> when you can use <div class="heading"> and <div
class="paragraph"> ;-)
Frank said:_Stewart Gordon_ skrev | wrote | écrivit (24-05-2006 16:15):
Well, I did that! *snip*
http://www.design.olieu.net/files/divmania.html
Frank said:Why use <h> and <p> when you can use <div class="heading"> and <div
class="paragraph"> ;-)
VK said:And overall tables are completely dead because:
....
div.grid {display: table; width: 100%; border-spacing: 1em;}
div.grid ul {display: table-row;}
div.grid li {display: table-cell;
In the mean time, I'll be using elements TABLE, TR, and TD for my
layouts that can't be done by other means (and this is most of them)
Luigi Donatello Asero said:If you use <div class="heading"> and <div class="paragraph"> you cannot use
<div class="section"> and <div class="subsection"> (where section is the
first level and subsection is the second) can you?
VK said:And overall tables are completely dead because:
...
div.grid {display: table; width: 100%; border-spacing: 1em;}
div.grid ul {display: table-row;}
div.grid li {display: table-cell;
...
(a recent real life sample taken from one of newsgroups)
Stewart said:What next? People coding up a whole website using no element other than
DIV, and maybe SPAN as well?
Steve said:You're joking. Or trolling. Or both.
You'd have to be pretty stupid to accept that sort of statement at face
value though!
You're joking. Or trolling. Or both.
Andy said:What if it's combined with "Proof by Authority" and Internet anonymity
though?
VK said:That's wrong with you?
Look at the previous post I was quoting to reply
to. This extract of code taken from one of Big 8 groups was intended to
continue the joke.
Andy said:Or stupid. This _was_ a recent example in a thread on "Are CSS tables
still evil <table>s" ? Both the thread's assertion and VK seemed
equally wrong-headed.
Steve said:I wrote the code you quoted.
If you want to play with my toys expect me to join in the game. ;-)
More seriously, the code was written as a theoretical exercise ('cos IE
makes it impractical to use in real life) to demonstrate how CSS can
replace tables used for layout.
Replacing data tables, or replacing headings and paragraphs, with
divs+CSS is just stupid and deserves to be laughed at.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.