Firebug question

Eric

New Member
I'm somewhat new to using Firebug to fix my site. I'm trying to apply a background color to a p element, nothing fancy. I get this message in the console:"Error in parsing value for property 'background-color'. Declaration dropped." When I hover over the paragraph, the background color style isn't even listed. What's up with this?
 

Eric

New Member
More info. I'm using a template I created in dreamweaver. I'm not used to doing this and I wonder if that could play a role. The area I'm working in is an editable area, the codeview is in black, not grey, so I think I'm right. The background color fails in firefox and safari, but is working in opera. I don't know why such simple tag could be such a problem.
 

Eric

New Member
Never mind, fixed it. Folks, always remember to use the # sign before color declarations, trust me.
 

PixelPusher

Super Moderator
Staff member
haha yep the "#" symbol is essential unless you are using predefined colors that use a name and not a rgb or hex number (like: white, green, aqua, red, etc)

Firebug is a excellent tool, cant stress enough. It allows for real-time editing of css, so you can see your changes immediately, instead of changing code and refreshing the browser window. Kudos to Mozilla.
 
Top