Sunday, 30 March 2008
I seem to be working with XHTML and CSS a lot more these days. I love it, CSS makes amazingly fast websites, and the consistency is perfect. Browser defaults cause me a lot of headaches though. Earlier, I was trying to work out why my repeating background image was breaking when I created a paragraph. I realised that paragraphs have a default margin! no not padding, a margin! that breaks background images at the bottom of the page. I've started using a standard CSS document that resets all defaults so the browsers can't mess me around.