2009/2/10 Dr Grover B Proctor Jr <[email protected]>: > >From a relative beginning in CSS (though an experienced HTML-er): Is there a > way using CSS to import the contents of a text file (and/or an .HTML file) > into a web page? I'm trying to boilerplate the same content on several > pages, and if each could call on a single file, I could update all files by > only updating the one external file.
The closest CSS gets is the content property - http://www.w3.org/TR/CSS21/generate.html#content - but that isn't really useful for the usecase you describe. CSS is about presentation, not including content, so it isn't the right tool for this job. http://allmyfaqs.net/faq.pl?Include_one_file_in_another has a good summary of the main options you have. -- David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk> ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
