Retrieves the font-weight style of the first paragraph. All style properties with a dash (like 'font-weight'), you have to write it in camelCase. In other words: Every time you have a '-' in a property, remove it and replace the next character with an uppercase representation of itself. Eg. fontWeight, fontSize, fontFamily, borderWidth, borderStyle, borderBottomWidth etc.
http://manalang.com/jquery/docs/index.html#css-name http://projects.cyberlot.net/trac/jqpie/wiki/CamelCase 2007/8/16, Klaus Hartl <[EMAIL PROTECTED]>: > > > Guapo wrote: > > i want to make all tds have a top vertical align, so i write the > > following code: > > > > $("td").attr("valign","top"); > > Why not: > > td { > vertical-align: top; > } > > > > --Klaus > > > -- Abraços Estevão Lucas