Hacker News new | past | comments | ask | show | jobs | submit login

That's an interesting solution, but wouldn't you normally want the logo in an img tag, so it gets loaded sooner?



It was originally an <a> tag so I didn't want to change that, and I think img tag didn't work very well with SVG and I had to use <embed>, which was another level of complexity.

But I'm by no means a web (front end) developer so I'm sure there are better ways to do this; I just didn't feel adventurous enough to spend more than 4 hours on stupid compatibility issues on older browsers :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: