Tres Seaver wrote:
I'm pretty sure you're not allowed dots in ids of HTML elements.
The attached HTML and XHTML pages both pass the W3C validator (one HTMl
4.01 strict, the other XHTML 1.0 strict). Both use dotted IDs for form
elements. Neither renders properly in Firefox 1.5 (the
Try
#form\.title
i.e. you have to escape the dot otherwise
FF thinks it's for an element with class title
... id=form class=title ...
at least that works for me in a very simple example:
p id=x.yhallo/p
#x\.y {
...
}
just my 2 cents
-Andreas
On Fri, Feb 23, 2007 at
Hi guys,
I'm pretty sure you're not allowed dots in ids of HTML elements. At
least not when they are prefixed by 'form'. A zope.schema.TextLine in a
formlib form, for example, generates HTML like this:
input id=form.title class=textType type=text value=Changed
title size=20