logo       

Re: SPAN CLASS ID, ID stripped: msg#00025

java.enhydra.xmlc

Subject: Re: SPAN CLASS ID, ID stripped

On Út, 2002-12-17 at 17:45, Jacob Kjome wrote:
> Hello Petr,

Jake,

> It shouldn't be removed unless you removed the id programmatically.

Enhydra does that automatically, unfortunately.

> Either way, if you want to style this element, you can provide another
> class to do that. Did you know that multiple classes can be applied
> to an element? You just space-separate the class names such as...
>
> <span class="areaheader middle" id="middle">WELCOME!</span>

You're right, this could solve that issue. I'll let the HTML author know
about this trick.

> BTW, just a note. I assume that the id name "middle" has a meaning of
> how the element is supposed to be stylistically positioned.

right.

> should avoid naming id's and classes in a way that hints at how you
> currently want elements correlated with them to be styled.

I'll forward him your whole mail. He'll be happy :)

Petr


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise