Saturday, November 7, 2009

not able to apply style sheet

Hie 

I am pretty new to GWT.

The question is:

I create a page index.html  in the war folder.
then created a index.css in the war/css folder.

in the index.css i defined something like:
.sakflexTable {
background-color:red;
color:green;
border: 5px solid silver;
}


and in the module i m doing 
mainPanel.addStyleName("sakflexTable");

in the index.gwt.xml stuff is:
<module>
<inherits name="com.google.gwt.user.User" />

<inherits name='com.google.gwt.user.theme.standard.Standard'/>

<entry-point class="vik.sakshum.sakshumweb.client.IndexModule" />
</module>


But the style sheet is not picked up. Any help please...

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate