Jump to content

from BG colors etc. to CSS for XHTML


eaglelegend

Recommended Posts

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?

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.