free website templates css xhtml
HELP me with CSS Please!?

im in a css scripting class in high school its pretty basic, but for this project i have to create a website with a whole bunch of stuff, i thought why dont i just forget it and copy some css layout from the internet. So i have the free webtemplate but there is some crazy stuff on the top of the HTML page it reads this:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


WTF is all that i cannot turn that in with all that crazy code on it. bceasue my teacher knows i dont know wtf that is…so i tried deleting it and it screws up all my margins and navigation bar and every thing……….my question is how do i keep my nice looking template while getting rid of or dumbing down that fancy code???

DOCTYPE is just for standards and stuff, you can delete it,

remove everythign from inside
change template to what you want the title to say in the top of the browser. (or completely remove and the line with if you dont want that)<br /> Delete the meta line completey</p> <p>you also need to close head if you keep it (</head>)</p> <p>put a <body> after head,then your main content,<br /> then at the end </body> and </html></p> <p><b>How to make web page: xhtml 1.1</b><br /> <object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/t2igLdcPZjI&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/t2igLdcPZjI&hl=pl&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></p> </div> </div> <div id="nextprevious"> <div class="left"><a href="http://www.freeonlinecity.com/tag/layout/page/2/" >« previous entries</a>  </div> <div class="right"><a href="http://www.freeonlinecity.com/tag/layout/page/2/" >Next Page »</a></div> </div> </div> <!-- End Postwrap --> <div id="sidebar"> <div id="sidebar-top"> <div class="widget"><form method="get" id="searchform" action="http://www.freeonlinecity.com/"> <div> <input type="text" value="Search our site..." name="s" id="searchbox" onfocus="if (this.value == 'Search our site...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search our site...';}" /> <input type="submit" id="searchbutton" value="" /> </div> </form></div><div class="widget"><div class="toptitle"><h2>Free Online</h2></div><ul> <li><script type="text/javascript"><!-- google_ad_client = "1075125100758446"; google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "999999"; google_color_url = "191919"; google_ad_width = 160; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></li> </ul> </div> <div class="widget"> <div class="toptitle"><h2>Recent Posts</h2></div> <ul> <li><a href="http://www.freeonlinecity.com/free-clip-art-halloween-ghost/" title="free clip art halloween ghost">free clip art halloween ghost </a></li> <li><a href="http://www.freeonlinecity.com/free-limewire-download/" title="free limewire download">free limewire download </a></li> <li><a href="http://www.freeonlinecity.com/free-online-tv-channels-pakistan-2/" title="free online tv channels pakistan">free online tv channels pakistan </a></li> <li><a href="http://www.freeonlinecity.com/download-free-antivirus-protection-software/" title="download free antivirus protection software">download free antivirus protection software </a></li> <li><a href="http://www.freeonlinecity.com/free-calendar-maker-downloads/" title="free calendar maker downloads">free calendar maker downloads </a></li> <li><a href="http://www.freeonlinecity.com/free-icons-downloads/" title="free icons downloads">free icons downloads </a></li> <li><a href="http://www.freeonlinecity.com/free-guitar-tabs-christmas-music/" title="free guitar tabs christmas music">free guitar tabs christmas music </a></li> <li><a href="http://www.freeonlinecity.com/free-online-translator-gaelic/" title="free online translator gaelic">free online translator gaelic </a></li> <li><a href="http://www.freeonlinecity.com/free-movies-online-website-2/" title="free movies online website">free movies online website </a></li> <li><a href="http://www.freeonlinecity.com/free-mmorpg-mac/" title="free mmorpg mac">free mmorpg mac </a></li> <li><a href="http://www.freeonlinecity.com/latest-free-antivirus-download-2009/" title="latest free antivirus download 2009">latest free antivirus download 2009 </a></li> <li><a href="http://www.freeonlinecity.com/free-clip-art-halloween-cats/" title="free clip art halloween cats">free clip art halloween cats </a></li> <li><a href="http://www.freeonlinecity.com/free-photoshop-brushes-7-0/" title="free photoshop brushes 7.0">free photoshop brushes 7.0 </a></li> <li><a href="http://www.freeonlinecity.com/free-email-cards-yahoo/" title="free email cards yahoo">free email cards yahoo </a></li> <li><a href="http://www.freeonlinecity.com/best-mac-free-software-2009/" title="best mac free software 2009">best mac free software 2009 </a></li> </ul> </div> </div> <div style="clear:both;"></div> <div id="sidebar-left"> <div class="Categ"> <h2>Categories</h2> <ul> <li class="cat-item cat-item-3"><a href="http://www.freeonlinecity.com/category/free-online-stuff/" title="View all posts filed under Free Online Stuff">Free Online Stuff</a> </li> <li class="cat-item cat-item-1"><a href="http://www.freeonlinecity.com/category/uncategorized/" title="View all posts filed under Uncategorized">Uncategorized</a> </li> </ul> </div> <br/> </div> <div id="sidebar-right"> <h2>Archives</h2> <ul> <li><a href='http://www.freeonlinecity.com/2012/01/' title='January 2012'>January 2012</a></li> <li><a href='http://www.freeonlinecity.com/2011/12/' title='December 2011'>December 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/11/' title='November 2011'>November 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/10/' title='October 2011'>October 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/09/' title='September 2011'>September 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/08/' title='August 2011'>August 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/07/' title='July 2011'>July 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/06/' title='June 2011'>June 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/05/' title='May 2011'>May 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/04/' title='April 2011'>April 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/03/' title='March 2011'>March 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/02/' title='February 2011'>February 2011</a></li> <li><a href='http://www.freeonlinecity.com/2011/01/' title='January 2011'>January 2011</a></li> <li><a href='http://www.freeonlinecity.com/2010/12/' title='December 2010'>December 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/11/' title='November 2010'>November 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/10/' title='October 2010'>October 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/09/' title='September 2010'>September 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/08/' title='August 2010'>August 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/07/' title='July 2010'>July 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/06/' title='June 2010'>June 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/05/' title='May 2010'>May 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/04/' title='April 2010'>April 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/03/' title='March 2010'>March 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/02/' title='February 2010'>February 2010</a></li> <li><a href='http://www.freeonlinecity.com/2010/01/' title='January 2010'>January 2010</a></li> <li><a href='http://www.freeonlinecity.com/2009/12/' title='December 2009'>December 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/11/' title='November 2009'>November 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/10/' title='October 2009'>October 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/09/' title='September 2009'>September 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/08/' title='August 2009'>August 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/07/' title='July 2009'>July 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/06/' title='June 2009'>June 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/05/' title='May 2009'>May 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/04/' title='April 2009'>April 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/03/' title='March 2009'>March 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/02/' title='February 2009'>February 2009</a></li> <li><a href='http://www.freeonlinecity.com/2009/01/' title='January 2009'>January 2009</a></li> <li><a href='http://www.freeonlinecity.com/2008/12/' title='December 2008'>December 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/11/' title='November 2008'>November 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/10/' title='October 2008'>October 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/09/' title='September 2008'>September 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/08/' title='August 2008'>August 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/07/' title='July 2008'>July 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/06/' title='June 2008'>June 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/05/' title='May 2008'>May 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/04/' title='April 2008'>April 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/03/' title='March 2008'>March 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/02/' title='February 2008'>February 2008</a></li> <li><a href='http://www.freeonlinecity.com/2008/01/' title='January 2008'>January 2008</a></li> <li><a href='http://www.freeonlinecity.com/2007/12/' title='December 2007'>December 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/11/' title='November 2007'>November 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/10/' title='October 2007'>October 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/09/' title='September 2007'>September 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/08/' title='August 2007'>August 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/07/' title='July 2007'>July 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/06/' title='June 2007'>June 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/05/' title='May 2007'>May 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/04/' title='April 2007'>April 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/03/' title='March 2007'>March 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/02/' title='February 2007'>February 2007</a></li> <li><a href='http://www.freeonlinecity.com/2007/01/' title='January 2007'>January 2007</a></li> </ul> <h2>Links</h2> <ul> </ul> <br/> </div> </div> <!-- Container --> </div> <!-- begin footer --> <div id="footer"> <div id="footerdark"> <p>This blog copyright © <script type="text/javascript" language="JavaScript"><!-- var today = new Date(); document.write(today.getFullYear()); //--></script> <a href="http://www.freeonlinecity.com/"> Free Online City </a></p> <p>Powered by <a href="http://www.flexibilitytheme.com" rel="nofollow">Flexibility Theme</a> for WordPress</p> </div> </div> <!-- footer close --> <div class="clearer"></div> </div> <div id="credit"> </div> <!-- wrap close --> </div> <!--stats_footer_test--><script src="http://stats.wordpress.com/e-201206.js" type="text/javascript"></script> <script type="text/javascript"> st_go({blog:'10782877',v:'ext',post:'0'}); var load_cmc = function(){linktracker_init(10782877,0,2);}; if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc); else load_cmc(); </script> <!-- bgwrapper close --> </body></html>