TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why can't the browser developers make the unstyled pages look better?

1 点作者 node-bayarea将近 5 年前
I was looking at this page https://www.jsoftware.com/help/jforc/contents.htm and it's not styled with any css. And it looks so old school. Why not the browser software creators get together and make the default look and feel much more modern? For example, if I'm typing something in the word or Google docs, the font, the typography, the default text color, the TOC, all look so much better out of the box. I hope the browser creators make the pages look better without any styles.

4 条评论

mrspeaker将近 5 年前
The problem is that ALL sites start &quot;without styles&quot; and then any CSS is added <i>on top</i> of this (even the site you linked to has <i>some</i> styling - margins, foreground and background color are all set in CSS).<p>Most websites do not restyle every element. For example, if you go into your browser and set the default color to be bright pink, you will find 1-in-10 websites won&#x27;t set their own foreground color (because they know the default is black and forget to set it) and so the text will be pink. (I even started collecting some! <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;mrspeaker&#x2F;1846b6b0e12c76f7eeb2" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;mrspeaker&#x2F;1846b6b0e12c76f7eeb2</a>)<p>If you changed the default styles then millions of websites would look really weird.<p>You can set your own defaults though and test it out!
mtmail将近 5 年前
In this specific case the author exported a Microsoft Office document into HTML. The font is 12.0pt Times New Roman because it was specified by Microsoft office <a href="https:&#x2F;&#x2F;www.jsoftware.com&#x2F;help&#x2F;jforc&#x2F;stylesheet.htm" rel="nofollow">https:&#x2F;&#x2F;www.jsoftware.com&#x2F;help&#x2F;jforc&#x2F;stylesheet.htm</a> (you might need to &#x27;view source&#x27;).
Dunedan将近 5 年前
This page isn&#x27;t unstyled. It includes CSS to apply various styles. You might not want to blame browser vendors, but &quot;Microsoft Office 11&quot; instead, which was used to generate the site.
node-bayarea将近 5 年前
<a href="https:&#x2F;&#x2F;www.jsoftware.com&#x2F;help&#x2F;jforc&#x2F;contents.htm" rel="nofollow">https:&#x2F;&#x2F;www.jsoftware.com&#x2F;help&#x2F;jforc&#x2F;contents.htm</a>