Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: XHTML 2.0 - <object/> elements and CSS

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 25 Feb 2006 00:05:51 +1100
Message-ID: <43FF04AF.3040207@lachy.id.au>
To: Daniel Schierbeck <daniel.schierbeck@gmail.com>
CC: www-html@w3.org

Daniel Schierbeck wrote:
> 
> 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?

This list isn't a help desk, least of all a CSS help desk.  However, I 
believe this will work like that, if and when it's eventually supported.

@media print {
   object { content: normal; }
}

http://www.w3.org/TR/css3-content/#content 

-- 
Lachlan Hunt
http://lachy.id.au/ 
Received on Friday, 24 February 2006 15:43:42 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.