W3C home > Mailing lists > Public > www-html@w3.org > February 2006

XHTML 2.0 - <object/> elements and CSS

From: Daniel Schierbeck <daniel.schierbeck@gmail.com>
Date: Fri, 24 Feb 2006 13:46:07 +0100
Message-ID: <43FF000F.7030606@gmail.com>
To: www-html@w3.org

Say I have the following piece of XHTML

  <object srctype="image/svg+xml" src="graph.svg">

And that graph.svg is an interactive image that isn't fit for printing.

I know that an XHTML 2.0 compliant browser will simply use the fallback 
content (<table/>) if it doesn't recognize the content type of the 
source, but how can I do the same through, say, CSS?

That way the <table/> gets printed, while the SVG image is shown on-screen.

Daniel Schierbeck
Received on Friday, 24 February 2006 12:45:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:12 UTC