Craig Morris wrote:

>Christian Montoya wrote:
>
>  
>
>>One solution would be to add the img tags in as CSS generated content,
>>but that is not widely supported.
>>    
>>
>I'm unfamiliar with this.  For my project the images have to be in the 
>markup itself, so it doesn't sound like it's an option for me.  But I'll 
>have to look into it for the example.  Thanks for the tip!
>  
>

With generated content, the content is in the markup -- it's just put 
there by the CSS.  So when CSS is off, it's no longer there.  It 
shouldn't be used like crazy, but is good for generating custom bullets, 
creating clearing elements, and pulling the href value of links into the 
text of the page when it prints.

Here's the spec:
http://www.w3.org/TR/CSS21/generate.html

Here's an article:
http://www.westciv.com/style_master/academy/css_tutorial/advanced/generated_content.html

And a whole lot more:
http://www.blingo.com/search?q=css+generated+content&x=0&y=0

Sadly, there doesn't appear to be a wiki page on the topic yet:
http://css-discuss.incutio.com/?page=GeneratedContent (sad, empty page 
just waiting for someone to fill it up!)

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to