XHTML 2.0 - <object/> elements and CSS

Say I have the following piece of XHTML

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

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.


Cheers,
Daniel Schierbeck

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