How do I specify a color for my dijit.toolbar?

528
2
09-09-2010 10:10 AM
ShawnCarson
New Contributor III
Hello all,

I want to set my toolbar color. Any of the normal color settings I use for a <div> don't seem to be respected by the dijit.Toolbar.

This is the div I am interested in controlling:

<div id="navToolbar" dojoType="dijit.Toolbar">

(My toolbar is inside another <div> which has a nice color. My toolbar is now sitting inside this <div> with no color so it looks harsh...)

My code is straight in my html page, no stylesheets, etc...

Thank you,

Shawn
0 Kudos
2 Replies
KellyHutchins
Esri Frequent Contributor
This works for me:

<div id="navToolbar"  style="background-color:#9CAA9C;" dojoType="dijit.Toolbar">
0 Kudos
ShawnCarson
New Contributor III
Sorry for the late response. Kelly is right she proved you could change the color. I just have something overriding it. I need to break my code down and see what is the hangup....

Thanks Kelly!
0 Kudos