Reputation: 152667
How to edit selectors to test something in Firebug?
alt text http://shup.com/Shup/365060/1105167712-My-Desktop.png
for example if i want to test
this
#Homepage #thirdCol a
as a
#Homepage #thirdCol > a
how to test like this in firebug
Upvotes: 2
Views: 1231
Reputation: 16518
you should now be able to edit the selector.
Upvotes: 0
Reputation: 93473
In Firebug, select the CSS tab.
The daughter bar will now show: a pause button, an "Edit" control, and the "first" CSS file, next to a down arrow.
Click on that down arrow to select the appropriate CSS file -- which you can identify in the HTML/CSS view.
Then click "Edit" and you can add, change, delete, or comment-out CSS selectors as much as needed.
ETA: See also seanizer's answer. Firebug's HTML+Style pane has direct links to the editable source of the style rules it displays.
Upvotes: 3
Reputation: 298898
Upvotes: 1
Reputation: 75599
Edit the HTML (using FireBug) and add a new style element.
<style type="text/css">
#Homepage #thirdCol > a {
...
}
</style>
Upvotes: 0