搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I control whether the Web Developer Inspector shows the page source instead of just an element's place in the DOM hierarchy?

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 jimeng

more options

I find the Inspector (Tools -> Web Developer -> Inspector) very useful. If I can select it and then click on an element in the page, the html markup for that element is shown in the left-hand window of the Inspector tool and the CSS rules that apply are shown in the right-hand window. But from time to time, the left window will just be blank, with a small bar above it showing a set of selectors back from the body tag down to the selected element. The right window is just as functional as usual, but I cannot examine the HTML source for the element. And I can't find any way to get back to what seems to be the default mode, which is what I want.

Any advice about how to avoid getting in this other mode or how to get back if I find myself in that mode?

Thanks.

I find the Inspector (Tools -> Web Developer -> Inspector) very useful. If I can select it and then click on an element in the page, the html markup for that element is shown in the left-hand window of the Inspector tool and the CSS rules that apply are shown in the right-hand window. But from time to time, the left window will just be blank, with a small bar above it showing a set of selectors back from the body tag down to the selected element. The right window is just as functional as usual, but I cannot examine the HTML source for the element. And I can't find any way to get back to what seems to be the default mode, which is what I want. Any advice about how to avoid getting in this other mode or how to get back if I find myself in that mode? Thanks.

所有回复 (1)

more options

Here's a screenshot of the inspector in the mode I want to get out of.