TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: The Cross Browser Handbook

22 pointsby dherkenover 12 years ago

4 comments

nathanbarryover 12 years ago
Congrats on launching the book!<p>The landing page looks really familiar...[1] It's fine, but next time please ask before borrowing my code and designs.<p>Good luck with the launch. I hope you sell a lot of copies.<p>-Nathan<p>[1] <a href="http://nathanbarry.com/app-design-handbook" rel="nofollow">http://nathanbarry.com/app-design-handbook</a>
评论 #4849348 未加载
blauwbilgorgelover 12 years ago
Some accessibility, usability, SEO and compatibility issues you might want to take a look at:<p>- Check out your favicon, it doesn't work in IE8, perhaps due to non-standard size, mime-type or non-ico format.<p>- Strip out the inline CSS.<p>- The Gothic font has no solid baseline in IE8. The individual letters jump up and down 2-3 px. Perhaps a Fontsquirrel issue?<p>- The social media buttons hug the browser toolbar. In some browsers there is just a few pixels between clicking Tweet and clicking a bookmark.<p>- Add alt-attributes to all images, empty if decorative. Specifying width and height will help with rendering or when the images won't load.<p>- Test your site with noscript. The fall-back font isn't sized properly and lacks enough line-height, so sentences overlap and lay-out breaks.<p>- Did you forget to style your footer? It uses the browser standard Times New Roman font for me.<p>- Declare (UTF-8) charset at the document level.<p>- &#60;a name="foo"&#62; for internal anchors is obsolete.<p>- Add spacing between links and words: "$129&#60;span&#62;Buy It&#60;/span&#62;" or else without styling or for screenreaders it will read: "$129Buy it"<p>- If you want to support older browsers lack of PNG alpha support, simply bake your PNG's with the website background, convert to 8-bit or add PNG alpha support with javascript or .htc<p>- Specify canonical or make sure your site serves only one unique page per URL: non-www and www redirects, remove or add trailing slashes, "index" added to the URL's or without, use lowercase in your URL's (both uppercase and lowercase letters return the same page). A combination of the above can result in 256+ different URL's returning the same page.<p>- Encode spaces or replace them with dashes, for example when linking to your sample chapter PDF.<p>- <a href="http://www.crossbrowserbook.com/Knowledge/index" rel="nofollow">http://www.crossbrowserbook.com/Knowledge/index</a> renders differently in different browsers (whitespace near the end). It also lacks a header or footer, so no way to return: visitor trap. On that page a spelling error "startet".<p>- Consider using summary, &#60;thead&#62; and &#60;tbody&#62; for relational tables, like the browsersupport tables. No alt-attribute on the browser logo's makes this table unusable for the vision impaired.<p>- Facebook button is in German.<p>- Study your pagetitles and see if you can target them more. Consider adding the site title. Consider adding a meta description. Consider adding a sample chapter as HTML content to the website. Consider supporting Chrome Frame and future versions of IE (&#60;meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /&#62;).
WrkInProgressover 12 years ago
Looks pretty promising.<p>Would be helpful if you could expand on the code templates and code workshops, since it effectively costs double the price of just the book.<p>Best of luck.
ejpastorinoover 12 years ago
Seems very promising!<p>A few samples or demo code would be great though. Just to check how basic/intermeditate/advance code and concepts are.