Fix certain attributes to be pixel counts, not CSS dimensions.

Found these using https://validator.w3.org/.
This commit is contained in:
David Fifield 2019-08-23 21:55:32 -06:00
parent 3bcd60ad10
commit 1063ef7b1d

View file

@ -9,7 +9,7 @@
<body> <body>
<div id="header"> <div id="header">
<a href="https://www.torproject.org/"> <a href="https://www.torproject.org/">
<img src="tor-logo@2x.png" alt="Tor" height="50px" /> <img src="tor-logo@2x.png" alt="Tor" height="50" />
</a> </a>
</div> </div>
<div id="content"> <div id="content">
@ -45,11 +45,11 @@
<p class="addon"> <p class="addon">
<a href="https://addons.mozilla.org/en-US/firefox/addon/torproject-snowflake/"> <a href="https://addons.mozilla.org/en-US/firefox/addon/torproject-snowflake/">
<img src="firefox150.jpg" alt="Install in Firefox" height="100px" /><br /> <img src="firefox150.jpg" alt="Install in Firefox" height="100" /><br />
<span>Install in Firefox</span> <span>Install in Firefox</span>
</a> </a>
<a href="https://chrome.google.com/webstore/detail/snowflake/mafpmfcccpbjnhfhjnllmmalhifmlcie"> <a href="https://chrome.google.com/webstore/detail/snowflake/mafpmfcccpbjnhfhjnllmmalhifmlcie">
<img src="chrome150.jpg" alt="Install in Chrome" height="100px" /><br /> <img src="chrome150.jpg" alt="Install in Chrome" height="100" /><br />
<span>Install in Chrome</span> <span>Install in Chrome</span>
</a> </a>
<span class="clear"></span> <span class="clear"></span>
@ -82,11 +82,11 @@
<p>It is now possible to embed the Snowflake badge on any website:</p> <p>It is now possible to embed the Snowflake badge on any website:</p>
<textarea readonly>&lt;iframe src="https://snowflake.torproject.org/embed.html" width="320px" height="240px" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;</textarea> <textarea readonly>&lt;iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;</textarea>
<p>Which looks like this:</p> <p>Which looks like this:</p>
<iframe src="embed.html" width="320px" height="240px" frameborder="0" scrolling="no"></iframe> <iframe src="embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</div> </div>
</body> </body>