Re: Float css atribute

2010-01-10 Thread ben fenster
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

2010-01-10 Thread Thomas Broyer

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

2010-01-09 Thread ben fenster
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.