Over a million developers have joined DZone.

Barebones XHTML And CSS Template Pages

Ok, so this guy already did this: http://www.bigbold.com/snippets/posts/show/583 but I needed a bit more.  So this is my xHTML template page (it doesn't declare xml since it makes IE kick out of standards mode):


This is the accomponying CSS: body { font-family :Verdana, Arial, Sans; font-size :76%; margin :0px; } div#container { font-size :1.0em; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix {display: inline-table;} /* Hides from IE-mac \*/ * html .clearfix {height: 1%;} .clearfix {display: block;} /* End hide from IE-mac */

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}