File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Applying class on a dojo widget Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Applying class on a dojo widget" Watch "Applying class on a dojo widget" New topic

Applying class on a dojo widget

Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 133

We are having hard time in cutomizing DOJo widgets to the look and feel required by our screen. we are able to use DOJO widgets with default themes like claro, tundra etc .but if we try to apply our own style it dosent have any effect on the element
CSS Class

DOJO element

Here class tb2 is completely ignored any idea?
Keith Wood
Ranch Hand

Joined: Aug 28, 2012
Posts: 38

Maybe the styling is overridden by other more specific rules. Can you provide the URL of a page that demonstrates the problem?

BTW, you might want to change 'Class' to 'class' just to be sure.

Author of the upcoming "Extending jQuery" book from Manning.
I agree. Here's the link:
subject: Applying class on a dojo widget
jQuery in Action, 3rd edition