<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: webdesign code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 24 Jul 2008 03:22:17 GMT</pubDate>
    <description>DZone Snippets: webdesign code</description>
    <item>
      <title>Generic XHTML template</title>
      <link>http://snippets.dzone.com/posts/show/583</link>
      <description>I'm often having to reconstruct this, as I can no longer memorize everything (just blank HTML and BODY tags used to be acceptable ;-)) with the DOCTYPE and namespaces.. so to make it easier to grab in future:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"&lt;br /&gt;       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;br /&gt;&lt;br /&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;&lt;br /&gt;	&lt;head&gt;&lt;br /&gt;		&lt;title&gt;&lt;/title&gt;&lt;br /&gt;		&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;&lt;br /&gt;		&lt;link rel="stylesheet" href="styles.css" type="text/css" media="screen" /&gt;&lt;br /&gt;		&lt;script type="text/javascript" src="common.js"&gt;&lt;/script&gt;&lt;br /&gt;	&lt;/head&gt;&lt;br /&gt;&lt;br /&gt;	&lt;body&gt;&lt;br /&gt;		&lt;div id="container"&gt;&lt;br /&gt;&lt;br /&gt;			&lt;div id="header"&gt;&lt;br /&gt;			&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;			&lt;div id="wrapper"&gt;&lt;br /&gt;				&lt;div id="main"&gt;&lt;br /&gt;					&lt;br /&gt;				&lt;/div&gt;&lt;br /&gt;			&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;			&lt;div id="footer"&gt;&lt;br /&gt;			&lt;/div&gt;&lt;br /&gt;			&lt;br /&gt;		&lt;/div&gt;&lt;br /&gt;	&lt;/body&gt;&lt;br /&gt;&lt;br /&gt;&lt;/html&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 17 Aug 2005 23:58:16 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/583</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
    <item>
      <title>Making bordercolor work in FireFox / Mozilla</title>
      <link>http://snippets.dzone.com/posts/show/293</link>
      <description>IE and Safari support the bordercolor attribute directly on TABLE elements which colors the external and internal borders. FireFox does not, but you can use standard CSS to fix it.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;TABLE { border: 1px solid #eee; }&lt;br /&gt;TABLE TD { border: 1px solid #eee; }&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Unlike most solutions, this also correctly changes the color of the cell borders.</description>
      <pubDate>Tue, 17 May 2005 12:39:51 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/293</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
  </channel>
</rss>
