Re: Float css atribute
10x :) On Jan 10, 4:44 pm, Thomas Broyer wrote: > On Jan 10, 7:16 am, ben fenster wrote: > > > DOM.setStyleAttribute(m_userImgPnl.getElement(), "float", "left"); > > using this line i am tring to set a simple panel style to float lest > > but when i run i see using firebug that the change didnt happen > > anyone knows why? > > Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4366 > you have to use "cssFloat" (W3C DOM standard) and > "styleFloat" (Internet Explorer) > > (BTW, "DOM" will probably be deprecated in the near future, so use > m_userImgPnl.getElement().getStyle().setProperty("cssFlaot", "left") > instead) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Float css atribute
On Jan 10, 7:16 am, ben fenster wrote: > DOM.setStyleAttribute(m_userImgPnl.getElement(), "float", "left"); > using this line i am tring to set a simple panel style to float lest > but when i run i see using firebug that the change didnt happen > anyone knows why? See http://code.google.com/p/google-web-toolkit/issues/detail?id=4366 you have to use "cssFloat" (W3C DOM standard) and "styleFloat" (Internet Explorer) (BTW, "DOM" will probably be deprecated in the near future, so use m_userImgPnl.getElement().getStyle().setProperty("cssFlaot", "left") instead) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Float css atribute
DOM.setStyleAttribute(m_userImgPnl.getElement(), "float", "left"); using this line i am tring to set a simple panel style to float lest but when i run i see using firebug that the change didnt happen anyone knows why? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.