mercredi 2 avril 2014

CSS rule has a blank source (in web inspector)


Vote count:

0




When I inspect an element, and look at the "Computed" CSS tab, I see a list of properties. If I expand any one property I see something like this: enter image description here


Which makes perfect sense: the drop-down shows the styles in which they were overriden, with the top one the "winner". All these styles have a link to the right that will show the source where they were defined.


What perplexes me, with an element that I'm trying to control the width of, but can't seem to find where it is overriden, is a situation like this: enter image description here


Note that the top style, that I believe should be the "winner", isn't struck-through, yet the value of the property is very different and there is no source listed to explain this difference. Where is this override coming from?


I have tried reordering my style sheets, styling directly on the HTML element, using !important in the relevant CSS selector, respecifying my selector to as specific as you can get, and still I can't take hold of the width property of this table.


I've poured hours into it so any help is appreciated.


I'm using Firefox, and this issue appears in both Firebug and the Firefox web inspector.



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire