Oct 02 2005
HTML/CSS dev gotchas
I wanted to start tracking the details that caused me pain in implementing some of the html/css on this site. There’s enough shared knowledge on the net that I don’t want to shell out bucks for a book - so I thought it’d be nice to have a reference here to save anyone else the pain that I experienced.
1. style object vs style attribute (IE vs firefox) - more later. MSDN reference to attributes of the style object
2. preventDefault, returnValue - more later
3. Clicking on hyperlinks, specifically, following hrefs, before a page has loaded prevents the page from loading in IE. This was bad in my gallery section, where clicking on an image would bring up an image display div, and IE users would just experience the page stopping in the middle of the load process. main tip was found here http://www.ozoneasylum.com/8733