Re: [Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the
The html is very lame, btw, including, as someone pointed out to me, a rather than a amp;. However, it shouldn't affect the demonstration. :-) Gary ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the
On Monday 04 June 2007 15:41, Marius Gedminas wrote: Log message for revision 76258: HTML element ids containing dots are not very good, because then the element#id CSS selector does not work FYI it works just fine (at least in Firefox) if you escape the dots: element#id\.with\.dots I'm pretty sure it works in MSIE6 as well, but don't quote me on that. Initially I had no luck finding the escape character. But googling for it again, the CSS specification defines the backslash as the escape character for CSS. Having said this, I find the backslash annoying, so I still like my solution better. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the
On Sun, Jun 03, 2007 at 02:18:47PM -0400, Gary Poster wrote: On Jun 3, 2007, at 12:58 PM, Stephan Richter wrote: Log message for revision 76258: HTML element ids containing dots are not very good, because then the element#id CSS selector does not work FYI it works just fine (at least in Firefox) if you escape the dots: element#id\.with\.dots I'm pretty sure it works in MSIE6 as well, but don't quote me on that. Marius Gedminas -- When I'm not in my right mind, my left mind gets a little crowded. signature.asc Description: Digital signature ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com