How about:
.gwt-TabPanel
{
background-image : url(image.png);
}
.gwt-TabBar .gwt-TabBarItem
{
background-color : #ccc;
margin-right : 20px;
}
.gwt-TabPanelBottom
{
background-color : #ccc;
}
Ian
http://examples.roughian.com
2009/8/7 alex.d <[email protected]>
>
> That's a pretty interesting idea. Very hacky ;) Except for i don't
> know the width of the tabs - it's a i18n system and tab-text (and it's
> length) differs from language to language.
>
> On 7 Aug., 10:45, twdarkflame <[email protected]> wrote:
> > hmz..I think you would need to do this by assigning them all the same
> > background, but starting the background from a position that matchs
> > each tabs separate x-location. (background-position). Or, rather, the
> > negative of the x-location of the tab. (so your moving the background
> > right just enough, so when its positioned relative to the tab it seems
> > to form part of a seamless image).
> >
> > Bit crude though, not sure of a better way.
> >
> > On Aug 6, 8:59 am, "alex.d" <[email protected]> wrote:
> >
> > > I would like to put an image behind my tabs (marketing thinks that it
> > > is an awesome idea :). Is it somehow possible? One should still see
> > > the tabs with an ongoing image inbetween them.
> >
> >
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---