A Visual Playground

Entries for January 18th, 2010

HTML Best Practices for all

Without further argument, let’s review best practices to examine when creating your markup. 1. Always Close Your Tags 2. Declare the Correct DocType 3. Never Use Inline Styles 4. Place all External CSS Files Within the Head Tag 5. Consider Placing Javascript Files at the Bottom 6. Keep Your Tag Names Lowercase 7. Use H1 [...]

Comments (39)

IE Bugs and Fixes

I have listed some common Internet Explorer bugs and solutions. I think this will able to help you condense the times spent on debugging the layout inconsistencies in IE. Double Margin Bug Fix If we have floated elements with margin left and/or right assigned, IE6 will double up the margin. For instance, margin-left:5px will become [...]

Comments (16)