开发者

Is there a way to change how tab characters are rendered in a browser?

Specifically in Firefox. We look at code in the browser often, and I am wondering if we could configure the browser so that tab characters show up开发者_运维知识库 as 4 spaces wide, instead of the default 8 spaces.

Edit: no responses yet. So I assume this is not possible?


Not really the answer you are looking for but maybe you could replace the tab characters with the appropriate amount of spaces and use the "pre" tag?

It is definitely worth looking at the html source to see how sites like stackoverflow.com deal with displaying source code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜