Re: [T5] Colons in element ids?

2008-04-24 Thread Julian Wood
Of course, IE7 doesn't recognize that escape character - I would imagine IE6 is the same - and so totally ignores the css rule. :-( J On Apr 22, 2008, at 2:05 PM, Julian Wood wrote: Sweet! That is a good solution. J On Apr 22, 2008, at 1:57 PM, Jason Lea wrote: or you could try looking a

Re: [T5] Colons in element ids?

2008-04-22 Thread Julian Wood
Sweet! That is a good solution. J On Apr 22, 2008, at 1:57 PM, Jason Lea wrote: 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: #foo\:bar { color: red;} fubar Julian Wood wrote: 5.

Re: [T5] Colons in element ids?

2008-04-22 Thread Jason Lea
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: #foo\:bar { color: red;} fubar Julian Wood wrote: 5.0.12-SNAP If I make a form and put a form label combo in it: maxlength

Re: [T5] Colons in element ids?

2008-04-22 Thread Andreas Andreou
AFAIK, jsf uses colons On Tue, Apr 22, 2008 at 10:17 PM, Julian Wood <[EMAIL PROTECTED]> wrote: > https://issues.apache.org/jira/browse/TAPESTRY-2377 > > I checked a bunch of alternatives, and I think the best option is one or > more hyphens. Every other char I tried either has a purpose or is ig

Re: [T5] Colons in element ids?

2008-04-22 Thread Julian Wood
https://issues.apache.org/jira/browse/TAPESTRY-2377 I checked a bunch of alternatives, and I think the best option is one or more hyphens. Every other char I tried either has a purpose or is ignored. J On Apr 22, 2008, at 11:42 AM, Howard Lewis Ship wrote: That is a valid point. At the c

Re: [T5] Colons in element ids?

2008-04-22 Thread Howard Lewis Ship
That is a valid point. At the core of this issue is the way Tapestry is responsible for doling out *unique* ids to elements of the page, as the page is rendered. This is necessary because you may have nested components that end up with conflicting ids very easily. The convention of appending a suf

Re: [T5] Colons in element ids?

2008-04-22 Thread Peter Beshai
You could just give the label an id or a class: and use #username-label or and use label.labelClass or even something like and use form#myform label There are tons of ways! :-) Peter Beshai On Tue, Apr 22, 2008 at 1:31 PM, Julian Wood <[EMAIL PROTECTED]> wr

[T5] Colons in element ids?

2008-04-22 Thread Julian Wood
5.0.12-SNAP If I make a form and put a form label combo in it: maxlength="15"/> It is rendered out like this: Username: 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 the