...

View Full Version : make a an a div a differnt color



esthera
09-16-2007, 07:23 PM
I have:

#breadcrumbs a
{
text-decoration:none;
color:#949182;
font-size:10px;
}
#breadcrumbs bon a{
color:#ffffff;
}

and my html is

<a href=#>test</a> > <a href=# id=bon>test 2</a>

but it's not working

I want the link with the id of bon to be white instead of gray

Jacka
09-16-2007, 07:32 PM
a #bon {
color: #FFFFFF;
}

esthera
09-16-2007, 07:42 PM
that's still not working (and i changed the color to white)

ahallicks
09-16-2007, 07:55 PM
#breadcrumbs a
{
text-decoration:none;
color:#949182;
font-size:10px;
}
#breadcrumbs a#bon {
color:#ffffff;
}

and my html is

<div id="breadcrumbs">
<a href="#">test</a>
<a href="#" id="bon">test 2</a>
</div>

esthera
09-16-2007, 09:17 PM
thanks.. that worked :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum