Re: [jQuery] .css works not correct for me
yes , it is all test in a line. I want to know what to do this. what tools can do. Thanks 2006/11/29, Christof Donat <[EMAIL PROTECTED]>: Hi, > it's textAlign! Both should work. Christof ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- yours 齐永恒 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .css works not correct for me
Hi, > it's textAlign! Both should work. Christof ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .css works not correct for me
it's textAlign! On 11/28/06, Christof Donat <[EMAIL PROTECTED]> wrote: Hi, > Hi @all, > i will a DIV appand to ID test and give test a little bit of CSS, this > works fine > > $("#test").css({overflow:"hidden"}).append(" > This fails: > > $("#test").css({text-align:"center"}).append(" > what is to do? $("#test").css({"text-align":"center"}).append("http://jquery.com/discuss/ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .css works not correct for me
Olaf Bosch schrieb: > Hi @all, > i will a DIV appand to ID test and give test a little bit of CSS, this > works fine > > $("#test").css({overflow:"hidden"}).append(" > This fails: > > $("#test").css({text-align:"center"}).append(" > what is to do? > A dash is illegal in a javascript identifier. In other words, use one of these: css("text-align", "center") css({"text-align": "center"}) css({textAlign: "center"}) That should do it. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .css works not correct for me
Christof Donat schrieb: > $("#test").css({"text-align":"center"}).append(" > The '-' is interpreted as an operator when it is used outside of a string. Ahh, thank you, work -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .css works not correct for me
Hi, > Hi @all, > i will a DIV appand to ID test and give test a little bit of CSS, this > works fine > > $("#test").css({overflow:"hidden"}).append(" > This fails: > > $("#test").css({text-align:"center"}).append(" > what is to do? $("#test").css({"text-align":"center"}).append("http://jquery.com/discuss/
[jQuery] .css works not correct for me
Hi @all, i will a DIV appand to ID test and give test a little bit of CSS, this works fine $("#test").css({overflow:"hidden"}).append("http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/