W3C home > Mailing lists > Public > www-style@w3.org > November 2002

Re: Content vs Structure?

From: Jeremy Dunck <ralinon@hotmail.com>
Date: Tue, 19 Nov 2002 22:56:46 -0600
To: dris86@cox.net, www-style@w3.org
Message-ID: <F30nHM3SOlbpH71yEXU00000007@hotmail.com>

>From: Chris Vincent <dris86@cox.net>
>Okay, I have a problem that's been driving me nuts.  Let's say you
>block inside the side bar block.  How could this fit within the paradigm of 
>separating style and content?

CSS separates presentation from structure, but it does not change the 
structure itself.  You're right that CSS alone is insuffcient for the task 
of completely altering the layouts.  That is, it has tools for that job 
(position: absolute and position: relative), but they are fairly poor.

What you may be after is XSLT.  That is a language intended to restructure 
any XML (which XHTML is, after all) document into an alternate structure 
(which may or may not be XML).

Then (assuming the result is an (X)HTML document), you would apply CSS (or 
possibly XSL:FO sometime after it becomes implemented) to the resulting 




Add photos to your messages with MSN 8. Get 2 months FREE*. 
Received on Tuesday, 19 November 2002 23:57:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:04 UTC