Hi Sobis,

Try this:

In your Application.gwt.xml, add this line after standard theme
definition:
<stylesheet src='YourProject.css' />

I think you must use !important, check if it's well write.

Delete the style definition in your html. On my project, it's work.

regards,
Philippe


On 26 nov, 09:23, Šobis <[email protected]> wrote:
> Hello,
>
> can you please help me with this issue, because I'm slowly losing my
> mind.
>
> I have GWT project, where in MyProject.gwt.xml I have
>
>         <inherits name='com.google.gwt.user.theme.standard.Standard' /> and
>
>         <stylesheet src='MyProject.css' />
> In MyProject.html I have:
>         <link type="text/css" rel="stylesheet" href="MyProject.css">
>
> but for TabPanel I always get style from Standard.css. What am I doing
> wrong?
>
> In MyProject.css I have
>
> .gwt-TabBarItem{
> .....}
>
> .gwt-TabBarItem-selected{
> .....}
>
> but in FF I get style from standard.css where class is
>
> I tried !imporatant thing but is not working.
>
> I added style tabRazred in code (for TabPabel.tabBar) and in CSS I did
> like this
>
> .tabRazred-TabBarItem{
> ...
>
> }
>
> But I'ts not working.
>
> So if anybody had similar problem or know how to solve this, please
> respond, because I'm quite desperate.
>
> Matej

--

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