Still I'd prefer server side manipulation of the HTML over manipulating the CSS. If you have a <span class="blue">some text</span> and you want it to be red at certain times you can either server-side change the color value of the .blue class in CSS or you can change the HTML output to become <span class="red">some_text</span> and define .red in the CSS as well. Simplified example maybe but it explains things a little bit.
- Marco On Mon, 19 Sep 2005, Joshua Street wrote: > On Mon, 2005-09-19 at 09:13 +0200, Marco van Hylckama Vlieg wrote: > > What's worrying though are developments such as server-side CSS. While it > > can do some nice things it really defeats the purpose of CSS. > > Seeing as no-one else has said anything, I thought I'd complain on this > point. Even if you lose _a_ benefit of CSS, to say that this [bandwidth > savings] is "the purpose" of CSS is pretty... narrow minded. > > We've still got parsable, semantic data with considerably extended > longevity because we didn't scatter it with presentational attributes. > And our sites are still viewable in low bandwidth devices that don't > bother with stylesheets (or, download lighter-weight mobile/handheld > media type stylesheets). ATs don't choke on our unwieldy > table-structured pages, either. > > The bandwidth advantage is only ancillary to CSS' core purpose -- > namely, the _presentation_ of content in a certain way, without the > markup-muck that <font> tags bring on. > > Kind Regards, > Joshua Street > > base10solutions > Website: > http://www.base10solutions.com.au/ > Phone: (02) 9898-0060 Fax: (02) > 8572-6021 > Mobile: 0425 808 469 > > Multimedia Development Agency > > > ________________________________________________________________________ > E-mails and any attachments sent from base10solutions are to be regarded > as confidential. Please do not distribute or publish any of the contents > of this e-mail without the sender’s consent. If you have received this > e-mail in error, please notify the sender by replying to the e-mail, and > then delete the message without making copies or using it in any way. > > Although base10solutions takes precautions to ensure that e-mail sent > from our accounts are free of viruses, we encourage recipients to > undertake their own virus scan on each e-mail before opening, as > base10solutions accepts no responsibility for loss or damage caused by > the contents of this e-mail. > > ________________________________________________________________________ > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** > -- Marco van Hylckama Vlieg - Senior Web Developer http://www.i-marco.nl/ ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************