or you could try looking at the css spec...
http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
and use the escape character \ :)
example:
<html>
<head>
<style type="text/css">
#foo\:bar { color: red;}
</style>
</head>
<body>
<p id="foo:bar">fubar</p>
</body>
</html>
Julian Wood wrote:
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]
--
Jason Lea
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]