-
1. Re: How to handle colon (:) in CSS files (IE-limitation)
peterj Aug 11, 2008 11:17 AM (in response to kirksigi)If you use some other separator, such as a dot or underscore, does IE then recognize the id and make the filed 400px wide? If so, then use that other separator.
Or you could ask Microsoft why their browser is broken... -
2. Re: How to handle colon (:) in CSS files (IE-limitation)
kirksigi Aug 14, 2008 7:00 AM (in response to kirksigi)Ok, the examplecode is not 100% correct. The id of the inputfield is the result of "id of form" + ":" + "id of inputfield". The colon is there. I cant replace it by any other character.
Asking microsoft wont help. Any other suggestions? -
3. Re: How to handle colon (:) in CSS files (IE-limitation)
peterj Aug 14, 2008 11:22 AM (in response to kirksigi)OK, so you are saying that you cannot change the code so that it will work with IE (does that code that generated the id with a colon belong to some third-party library you cannot change?) and you cannot complain to Microsoft because the complaint will fall on deaf ears. Therefore, the only other solution I can think of is to require all of your users to use FireFox. (Hey, I know of dozens of web sites that won't work unless you use IE - it's time for some payback! ;-)
Wild idea: a valve that converts xxx:yyy to xxx_yyy on output and back to xxx:yyy in input. Of course, the css would have to use the xxx_yyy locator. -
4. Re: How to handle colon (:) in CSS files (IE-limitation)
kirksigi Aug 18, 2008 4:12 AM (in response to kirksigi)Ok. I found it by myself at the java JSF-forum:
http://forums.sun.com/thread.jspa?forumID=427&threadID=5310179
use:
\3A
instead of
\:
in CSS.