[Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML
element ids containing dots are not very good, because then the
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Jun 13 01:25:03 EDT 2007
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
More information about the Zope3-dev
mailing list