Quote:
|
Originally Posted by langard
First, HTML, XHTML, and every other markup language currently recognized by browser manufacturers are all children of parent SGML - which none of them recognize.
That's because SGML, like it's little offspring XML, is all about structure and nothing about content.
|
Browsers will choke on raw XML too. They're meant to be fed HTML and XHTML (a subset of XML).
HTML and XHTML are
specifically intended to markup the
content of a web page. The tags are meant to denote what type of content they enclose. A heading tag (<h1>, <h2>, etc.) is supposed to mark a heading and subsequent subheadings, a paragraph tag is supposed to denote a paragraph, etc. This markup also defines the logical structure of your document. View your web page in Lynx and you'll quickly see the underlying structure of a page.
Quote:
|
Originally Posted by langard
CSS, on the other hand, has nothing to do with layout (read structure) and everything to do with adjusting content.
|
I think this is simply a question of semantics. CSS has nothing to do with the logical structure of your document, but has everything to do with the graphical/physical layout of your document. Your layout
should reflect the underlying structure. That doesn't mean it always will.
Quote:
|
Originally Posted by langard
So talking about "CSS without tables" is like talking about mascara without skeletons or visa versa.
|
Tables were originally meant to contain tabular data. They were never meant to define the physical layout of a page. CSS works just fine without tables. Using tables for the physical/graphical layout of your page is okay for transitional pages (XHTML 1.0 Transitional) but should be used only for tabular data when moving to Strict DTDs.
Quote:
|
Originally Posted by langard
CSS is not a King-Hell solution for serious developers of any stripe at this juncture. It's just a tool to manage content as best you can. The W3C adopted it to override all the stupid personal settings browsers allow to "empower" users, which mirrors the idiotic Twain incompatability printer manufacturers perpetuated for years.
|
So there aren't any "serious" developers using CSS? They're all use tables to define their page layouts? Somehow I find that
extremely hard to believe. There are quite a few serious developers using CSS and XHTML to develop web sites. True, a lot of these sites do use a table to define a basic page layout, but the main reason for this is because the majority of currently used browsers do not fully support CSS standards. Just watch what we can do once the browsers support the standards properly. Spearating content from layout is the future of web development. The little "tricks" we learned when designing sites in '95 and '96 aren't going to work any more, and they don't have to. You can design a site using proper standards that will still look good, and still be readable ten years from now.
Want to see what some developers have done with content (XHTML) separated from layout (CSS)? Take a look at
css Zen Garden. One XHTML file with the
content, and dozens of different CSS files to describe the
layout. For good contrast, take a look at this layout,
Night Drive by Dave Shea, then look at
Backyard by Ray Henry. Both of these use exactly the same XHTML file, but different CSS. The
content of the pages is exactly the same. The
layout is different.
CSS does not "manage" content, but describes the way in which the developer wishes certain content to be displayed on a particular device. The W3C proposed the CSS standard in order to separate the content of a page from its display characteristics (layout). This was the intention of HTML from the very beginning. This is both the past and the future of web design.
Modern browsers allow users to override certain things
on purpose. One of the other original intents of HTML was the the browser (i.e. person viewing the site) should have the final determination of
how a page was displayed. Does that person have poor eyesight? color-blindness? Let them view the pages in a high-contrast color scheme or large font scheme if they want. Forcing everyone to view a page with red 10 point text on a black background is not the way the web is supposed to work.