Select to view content in your preferred language

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

707
2
09-09-2010 10:10 AM
ShawnCarson
Regular Contributor
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 Notable Contributor
This works for me:

<div id="navToolbar"  style="background-color:#9CAA9C;" dojoType="dijit.Toolbar">
0 Kudos
ShawnCarson
Regular Contributor
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