I personally can't explain it, but that seems to be the way with a lot of two work attributes. textAlign, fontSize.
On 8/16/07, Guapo <[EMAIL PROTECTED]> wrote: > > > i want to make all tds have a top vertical align, so i write the > following code: > > $("td").attr("valign","top"); > > but it failed. and i found if i change the letter a in "valign" to > uppercase, it works well. code as follows: > > $("td").attr("vAlign","top"); > > anyone can explain it? > test on window xp sp2, ie7. firefox works well all the time. > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com