Hey all -- 

I'm hesitant to ask this because it is maybe a little bit more of a Dojo
question than a ZF question.  But I've had little luck with the Dojo docs
and my googlings for this have only created more confusion.

I'm very pleased with the construction of my dojo-enabled form -- once I
conformed my method of thinking to, you know, reality.

But now I'm stuck again -- I can't style the Dijits with CSS!  I understand
that there are CSS files which are loaded with the Dijits, and the common
answer is to override the settings either by changing the included files, or
by using increased specificity in your css file.  I've also changed my
layout file so my custom CSS comes after Dojo is loaded and output.

I'm trying to use selectors based on ID (can't really get more specific that
that!) and I've tried several variations of this:

#cal_Category    {
    width: 800px;
}

but to no avail.  The only success I've had is when I assign a class to my
Dijit, then I can write:

.WTFDojo        {
    width: 800px;
}

and that works okay with most things (some, like background-color, seem to
need to be !important) but I would really rather do things with ID selectors
in this case, and more than that I am curious as to why this doesn't work.

Has anyone else had issues like this?  I'd love a push in the right
direction.

Thanks,
Ian


-- 
View this message in context: 
http://www.nabble.com/Zend_Dojo%2C-styling-dijits%2C-overriding-CSS-tp19801462p19801462.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to