5.0.12-SNAP

If I make a form and put a form label combo in it:

<form t:type="Form">
 <div>
  <label t:type="Label" t:for="username" />
<input t:type="TextField" t:id="username" type="text" maxlength="15"/>
 </div>
</form>

It is rendered out like this:

<label for="username" id="username:label">Username:</label>
<input id="username" maxlength="15" name="username" type="text">

How can I target the the label id with a css rule?

#username:label {
        color: red;
}

is illegal - well it is a pseudo-class, like a:hover. I realize there are other ways to get around this - my point is shouldn't tapestry be using something other than a colon in the identifier?

J

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to