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
******************************************************

Reply via email to