On Wed, Jul 03, 2002 at 01:34:40PM -0700, Charles Knell wrote:
> CSS is concerned with the appearance of elements on your web page, and
> not their semantics. That's why you can't explain via CSS that one element
> is a link and the other is an inline image.
right, so you cannot put random XML on your web site and
expect to render it with CSS.
> Concepts such as "link" and "inline image" belong to the world of HTML.
> You could alter the appearance of these elements by transforming their
> contents into HTML tags that browsers understand (such as "div", "span",
> "h1") with XSLT, and then alter their appearance by manipulating the
> element's "style" object properties with CSS.
quite. we *have* to transform to HTML, its the only semantics that
web clients understand. CSS is useful for appearance, but there
is more to putting up XML files than appearance.
--
Sebastian Rahtz OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|