Copy & paste the code below to embed this comment.
Mark
Am I the only one that thinks markup should never contain words like “leftcolumn,” “centercolumn,” and “rightcolumn?” What if an alternate stylesheet has the columns switched? What if a future version of the page doesn’t use columns at all?
Yet I see this all the time. Sometimes the markup is as horrible as “bluetext,” “bold,” etc. This is not what CSS is all about.
Copy & paste the code below to embed this comment.
James Cook
The slashdot redesign contains the following code:
<div id=“overall”>
<div class=“header”>
Just wondering if you used a guideline for whether id was used in place of class. I suppose I would base my decision to use id for structural elements that do not repeat. Is there any other reasons?
Peter,
I know this is a few months after the event but as a hosting compnay that’s been trying to deliver a solution around the basis of the /. site these three things that you cite are really important:
1). Fix non-standard /. markup
2). ????????
3). Profit!
They are all things that we’ve had months of hair pulling and a majority of it is the inability of the coders to use any form of standardisation, let alone WS.
No’3 is the hardest for us to come to terms with as virtually no-one this year is going to look at re-tooling unless there’s visible profit!
McQ
94 Reader Comments
Back to the Articleapartness
>> Friday 5 December? ;)
yeah, yeah. it’s out now.
http://www.alistapart.com/issues/165/
Mark
Am I the only one that thinks markup should never contain words like “leftcolumn,” “centercolumn,” and “rightcolumn?” What if an alternate stylesheet has the columns switched? What if a future version of the page doesn’t use columns at all?
Yet I see this all the time. Sometimes the markup is as horrible as “bluetext,” “bold,” etc. This is not what CSS is all about.
James Cook
The slashdot redesign contains the following code:
<div id=“overall”>
<div class=“header”>
Just wondering if you used a guideline for whether id was used in place of class. I suppose I would base my decision to use id for structural elements that do not repeat. Is there any other reasons?
John McHugh
Ref: http://www.alistapart.com/discuss/slashdot/2/#c5678
Peter,
I know this is a few months after the event but as a hosting compnay that’s been trying to deliver a solution around the basis of the /. site these three things that you cite are really important:
1). Fix non-standard /. markup
2). ????????
3). Profit!
They are all things that we’ve had months of hair pulling and a majority of it is the inability of the coders to use any form of standardisation, let alone WS.
No’3 is the hardest for us to come to terms with as virtually no-one this year is going to look at re-tooling unless there’s visible profit!
McQ