Thomas Meinike: Text andersfarbig unterstreichen

Beitrag lesen

Hallo,

gibt es wohl mit dem Befehl <u>...</u> die
Möglichkeit roten Text bspw. blau zu unterstreichen.

Probiere diesen Ansatz:

u
{
  color: #F00;
  background-color: #FFF;
  text-decoration: none;
  border-bottom: 1px solid #00C;
}

und <u>Text</u>

oder

span.abc
{
  color: #F00;
  background-color: #FFF;
  border-bottom: 1px solid #00C;
}

<span class="abc">Text</span>

MfG, Thomas