Use firebug to inspect the compiled application, it will tell you what styles are being applied to the tabPanel and where they come from, you should be able to find what is taking over the style of your panel.
Also, you might want to redefine all of the tabPanel and tabBar styles, take a look at the javadoc for a complete list: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/TabPanel.html http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/TabBar.html Hope that helps, Salvador On Apr 23, 9:51 am, Qing <[email protected]> wrote: > gwt-windows-1.6.4. it's in right location, because other styles can be > applied to the page. only this tab panel border style doesn't work > > On Apr 22, 12:49 pm, Jim <[email protected]> wrote: > > > Which version of GWT is used? Make sure the css file is in the right > > location. > > > Jim Xiehttp://www.leeonsoft.comForGWT > > ORMhttp://code.google.com/p/dreamsource-orm/downloads/list > > > On Apr 22, 12:38 pm,Qing<[email protected]> wrote: > > > > Hi, > > > I'm using TabPanel. It has a default blue border. I've edit css for > > > it: > > > .gwt-TabPanel { > > > margin-top: 4px; > > > border: none; > > > width: 100%; > > > text-decoration: none; > > > > } > > > > .gwt-TabPanelBottom { > > > padding: 10px; > > > display: block; > > > border-width: 0px; > > > border-color: #444444;} > > > > .gwt-TabBar { > > > padding-top: 2px; > > > border-bottom: 4px solid #ffffff; > > > background-color: #ffffff; > > > > } > > > > and i have set it to the panel weget: > > > tabPanel.setStyleName("gwt-TabPanel"); > > > > but the blue border is still there > > > Any advice? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
