I should have called the class 'importanttext' or something similar in my example indeed. However it still holds. One can either manipulate the way output looks by dynamically changing the CSS or by dynamically changing the HTML output. I prefer the latter to be honest.
- Marco On Mon, 19 Sep 2005, Martin Heiden wrote: > Marco, > > on Montag, 19. September 2005 at 11:01 you wrote: > > > 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. > > But you mix structure and visual display. If you'd call the class > "importanttext" you'd only have to change the css if you want to let > it appear blue instead of red: > > <span class="importanttext">some_text</span> > > .importanttext { > /* color: red; */ > color: blue; > } > > regards > > Martin > > > > > > ****************************************************** > 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 ******************************************************