Is there a way to find out where a css rule is coming from?

前端 未结 3 1922
我寻月下人不归
我寻月下人不归 2020-12-06 04:54

I\'ve inherited an .asp website and had to update the pages to relocate forms in tables to the sidebar.

It\'s worked fine on all but one page which stubbornly refu

3条回答
  •  攒了一身酷
    2020-12-06 05:25

    In the HTML tab of Firebug, you should see a panel on the right with tabs Style, Computed, Layout, and DOM. Select Computed. This will show you the "current" style being applied to the page.

    If you expand a rule node, you should see a link on the right showing you which style sheet it is coming from, along with stylesheet rules that are being overridden.

提交回复
热议问题