eaglelegend Posted April 4, 2008 Share Posted April 4, 2008 Hey, I am trying to make my pages XHTML strict, however it requires that I have CSS's instead of - well look below... (my code) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd"> <?php include("config.php"); ?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="author" content="Mark Richardson" /> <meta name="description" content="Eagle Legend - The newest, safest and best Virtual Pet Site in the hole of Cyberspace!" /> <meta name="keywords" content="eagle legend, eaglelegend, eagle, legend, pets, pet, games, game, virtual, chat, fun, prizes, play, virtual pet, kids" /> <meta name="revised" content="Eagle Legend, 04/01/08" /> <title>Eagle Legend</title> <link rel="stylesheet" href="style.css" type="text/css" /> <script language="javascript" type="text/javascript"> //<![CDATA[ function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=550,height=600');"); } //]]> </script> <link rel="shortcut icon" href="favicon.ico" /> <style type="text/css"> /*<![CDATA[*/ div.c1 {text-align: center} /*]]>*/ </style> <style type="text/css"> /*<![CDATA[*/ img.c1 {border:0;width:88px;height:31px} /*]]>*/ </style> </head> <body> <div class="c1"> <table border="0" width="980" cellpadding="4" cellspacing="4" bgcolor="#000000"> <tr> <td colspan="2"><a href="index.php"><img src="images/headers/banner.png" border="0" alt="Eagle Legend" /></a></td> </tr> <tr> <td width="180" valign="top" bgcolor="#04AA44"> <? include("nav.php"); ?> </td> <td width="800" valign="top" bgcolor="#70BEFF">[/font] now how do I do this?, change or put them in my CSS, and not have it change anything, badly? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted April 4, 2008 Share Posted April 4, 2008 go and learn about css styling... a breif google on 'css for beginners' yielded this... http://www.htmldog.com/guides/cssbeginner/ Quote Link to comment Share on other sites More sharing options...
haku Posted April 4, 2008 Share Posted April 4, 2008 HTMLdog's css is really good. Or at least so I'm told by someone I trust. As for xhtml strict - I would recommend using transitional until you figure out how that works, then switch to strict. Quote Link to comment Share on other sites More sharing options...
eaglelegend Posted April 4, 2008 Author Share Posted April 4, 2008 Thanks for the tip Hacku! Quote Link to comment Share on other sites More sharing options...
haku Posted April 4, 2008 Share Posted April 4, 2008 Just haku, not hacku . Hacku sounds like a hacker, which Im not! Quote Link to comment Share on other sites More sharing options...
eaglelegend Posted April 4, 2008 Author Share Posted April 4, 2008 oops sorry, truthfully, I was thinking about it while I was writing it, I sometimes do that, write what im thinking without relising XD Quote Link to comment Share on other sites More sharing options...
haku Posted April 4, 2008 Share Posted April 4, 2008 No worries. I already dealt with worse tonight - I was in front of 700 people at a company affair on the stage, and when they called my name, they got it wrong One extra letter in my handle is nothing by comparison! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.