ghornet
03-07-2003, 08:55 PM
So I am trying to convert all of my pages to Xhtml cause it is the thing to do, I am validating through w3c.org validator my document works great it is an asp page that I run in my browser, view the code save it as a file and then validate it.
I am using the following doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I have two pages... index.asp and showlog.asp
index.asp is in an iframe inside of showlog.asp
if I leave out the doctype during run time everything works fine.
if I put in the doctype into index.asp
I have a table in index.asp that outputs stuff from a database and color coded by using a class depending on whether the date it is has passed today or not, with the doctype none of the colors show, but the class information seems to be there
if i put in the doctype into showlog.asp
The iframe never shows up and my page looks real funky
this is one row.. the class info is there... so what is going on?
<tr class="ODD" onclick="location.href='index.asp?sShow=18'" onmouseover="this.className='ODDOver';" onmouseout="this.className='ODD';">
<td>Vancouver Fairgrounds</td>
<td>Vancouver </td>
<td>5/8/2003</td>
<td>5/18/2003</td>
</tr>
here is the top part of my page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>******</title>
<link rel="stylesheet" type="text/css" href="css/normal.css" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
Any ideas?
D---
I am using the following doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I have two pages... index.asp and showlog.asp
index.asp is in an iframe inside of showlog.asp
if I leave out the doctype during run time everything works fine.
if I put in the doctype into index.asp
I have a table in index.asp that outputs stuff from a database and color coded by using a class depending on whether the date it is has passed today or not, with the doctype none of the colors show, but the class information seems to be there
if i put in the doctype into showlog.asp
The iframe never shows up and my page looks real funky
this is one row.. the class info is there... so what is going on?
<tr class="ODD" onclick="location.href='index.asp?sShow=18'" onmouseover="this.className='ODDOver';" onmouseout="this.className='ODD';">
<td>Vancouver Fairgrounds</td>
<td>Vancouver </td>
<td>5/8/2003</td>
<td>5/18/2003</td>
</tr>
here is the top part of my page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>******</title>
<link rel="stylesheet" type="text/css" href="css/normal.css" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
Any ideas?
D---