Can anyone say how I could set a property value (width) for a element
that has multiple classes. I have a TabPanel and I want to dynamically
set the width of the first tab bar. Using css I can achieve this
using:

.UserTabs .gwt-TabBar .gwt-TabBarFirst {
  ...
  width: 200px;
}

However when I try to dynamically set the width arttribute of the
style property using the following nothing happens.

TabPanel tab = new TabPanel();
DOM.setStyleAttribute(tab.getElement(), "width", "400px");

Any thoughts

John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to