|
yb2 -> RE: CSS vs. HTML (6/23/2006 16:39:20)
|
quote:
Maybe that's just me though - I like things neat! Fair enough if that's your preference, but I think the tidyness argument is a little bit dodgy as you'll end up with as many little bits floating about in your css as anywhere else! :) quote:
You use CSS to take all the formatting out of the page so that all that's left is the content. quote:
HTML is formatting and is part of the presentation layer, while CSS is only an extension of HTML, and thus does not seperate presentation from content. To be fair, I had further look around L'Internet, and a lot of web designers regard xhtml as part of the data layer. Personally, I think that's incorrect, I would consider xml as part of the data layer and xhtml as presentation (transforming xml into xhtml if it was to be viewed in a browser). But since a lot of people won't be using databases and/or xml to store their data, then I can see why it might be viewed in such a way. Perspective is influenced by the technology. I still wouldn't stick a one-off in .css though, but that's a preference too.
|
|
|
|