Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: We Stylin'!

by AidanLee (Chaplain)
on Feb 12, 2002 at 21:54 UTC ( #144999=note: print w/ replies, xml ) Need Help??


in reply to Re: We Stylin'!
in thread We Stylin'!

I'd actually have to disagree. While I've mangled more than a few tables in my day for nefarious "visual layout" purposes, div tags are truer to the purpose, are more flexible for styling, and create far less cluttered code. I'd love to see (and would even volunteer a bit of time to help out) perlmonks worked over in properly id'd/classed divs & spans.


Comment on Re: Re: We Stylin'!
Re: Re: Re: We Stylin'!
by belg4mit (Prior) on Feb 12, 2002 at 22:22 UTC
    I think perhaps you must misunderstand me. Yes DIV and SPAN are by far the best tools for clustering content in a general application. But this is not a general application, we have pre-existing container elements (nodelets) which will not be disappearing, and so it seems it would be most effecient to refer to these than add addiotional elements.

    --
    perl -pe "s/\b;([st])/'\1/mg"

      Ah, I see I did misunderstand. My appologies

      Yes, we should definitely take advantage of labeling the existing container classes. The issue I see is popping open the source code to the page is that these container classes aren't implemented as containers. There just a few table cells here and there. Nodelets aren't even their own tables, but rather table rows in the larger table. I'd love to see something like:
      <div id="main" > <div id="node_content"> </div> <div id="node_replies"> ... </div> </div> <div id="sidebar"> <div id="nodelet_xp"> </div> <div id="nodelet_chatterbox"> </div> ... </div>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://144999]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-12-28 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls