Monday, August 07, 2006

If your CSS doesn't seem to be rendering correctly even though you are 99.99% sure you're using the correct markup double check the doctype. If you don't explicitly set the doctype to transitional or strict the browser will default to CSS 1.0 specifications and many CSS 2.0 features aren't supported in the older version.

Make sure this is above the <html> tag:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Understanding DOCTYPE:

http://www.alistapart.com/articles/doctype/

 

CSS
8/7/2006 1:26:09 PM (Eastern Standard Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Wednesday, May 24, 2006

Andy Hume posted an intersting article on bitesizestandards.com . It talks about positioning <divs> located on the source document in any order through css. Normally <divs> order themselves on the page according to the order they are placed on the page.

Here is a link to the article:

http://bitesizestandards.com/bites/understanding-any-order-columns

CSS
5/24/2006 9:34:20 AM (Eastern Standard Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  |  Trackback