Make sure you include your stylesheet in the module xml in the correct
location.  This has been discussed several times in the discussion forum.

Optionally, a hack would be to mark the rule !important, but I'd really
recommend doing it the correct way - it's not difficult.

On Thu, Apr 23, 2009 at 4:34 AM, Salvador Diaz <diaz.salva...@gmail.com>wrote:

>
> 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 <zq.zhangq...@gmail.com> 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 <jim.p...@gmail.com> 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<zq.zhangq...@gmail.com> 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 Google-Web-Toolkit@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to