Obvious In Hindsight
Archive of tips, tricks and solutions for designers and programmers!

Posts Tagged ‘browser

CSS: Horizontal row of images in a div

January 11, 2010

Often, images are arranged horizontally for the purposes of a navigation menu using images rather than standard text link. What in theory should be a relativly simple task can in practice become a nightmare if you overthink the process, are unaware of the idiosyncracities of the various popular browsers and the relevant workarounds. The simple […]

XHTML: Why use XHTML?

January 10, 2010

If you’re unsure of the functional differences between HTML and XHTML the you might wondering why you might want to use it. With that in mind, this article explains what you cannot do with HTML but can do XHTML. If you’re unsure of what XHTML actually is you can review my other articles here and here. […]

Web Design: What DOCTYPE do I use?

January 9, 2010

A DOCTYPE (document type declaration) is the few lines of code placed before your opening <html> tag. Many novice coders omit this but even if you are in habit of including it, you need to ensure that you’re using the correct document type. Why use a document type? You’re code might not validate without the […]

XHTML: What is XHTML?

January 9, 2010

[PLEASE REVIEW THE XHTML CRITICISM SECTION AT THE END OF THIS POST] XHTML (EXtensible HyperText Markup Language) is a stricter and cleaner version of HTML and has been a W3C Recommendation since January, 2000. W3c is an organization founded and headed by Sir Tim Berners Lee, the inventor of the World Wide Web. W3C alledges […]

Web Design: PNG-8 vs. PNG-24

January 8, 2010

PNG is an image format just like JPG or GIF. It was created to improve on and thereafter replace the GIF format. PNG’s come in a few formats, two of which are PNG-8 and PNG-24. What’s the difference? PNG 8 Only 256 colors thus optimal in file size. Use if the image consists of solid, even […]