On 06/01/06, Ionize <[EMAIL PROTECTED]> wrote: > 1: Can CSS be used to contain an RSS Feed, what i mean by this is that if > you create a <div> container and insert the RSS code in there will it be > bound by the rules placed on it by the style sheet, not so much in a > formatting type of way but in more of a size way.
You can style XML with CSS. Mixing XHTML and RSS sees little browser support at present though. You'd be better off transforming the RSS to HTML on the server. > 2: With the background-image for individual divs can sepearte images be used > in each and every div? Yes. You just need a suitable selector to set the background image on only the div you want. (Or, and this is ugly, make use of the + selector so all divs get one image, then all but the first get overridden with another, then all but the first two get overridden with another, and so on). > 3: How do you replace url's with images? I don't understand the question. In HTTP an image can be the resource at a URL. In CSS a url(...) is replaced automatically. In markup there isn't really such a thing as a URL, certainly not that can be referenced by CSS. > 4: Not sure about asking this question here, but in the css zen garden > files, any text content within a div is encolsed by <span> tags. Can > somebody explain this? Zen Garden uses very nasty, bloated markup in order to provide as many hooks as possible that authors can hook CSS on to. -- 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/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
