Forum Home
Press F1
 
Thread ID: 65224 2006-01-11 07:30:00 html help =C Codex (3761) Press F1
Post ID Timestamp Content User
420119 2006-01-11 07:30:00 ok im trying to code my new template and have come accross a problem when loaidng it in firefox(works fine in i.e.):


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org
<html xmlns="www.w3.org
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>REMOVED</title>
<style type="text/css">
<!--
body {
background-color : #ebebeb;
background-image : url(images/bg.gif);
margin-top : 0;
margin-left : 0;
margin-right : 0;
margin-bottom : 0;
}
body, td, th {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 9pt;
color: 343F4A;
}
-->
</style>
</head>

<body>
<div align="center">
<table id="Table_01" width="852" height="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25" background="images/overall_side_l.gif">&nbsp;</td>
<td width="802" align="center" valign="top" bgcolor="EBEBEB">
<table id="Table_01" width="800" height="151" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="800" height="26" background="images/overalltop.gif">&nbsp;</td>
</tr>
<tr>
<td width="800" height="125" bgcolor="F4F4F4"><table width="800" height="125" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="315" bgcolor="F4F4F4"><img src="images/logo.gif" alt="Candence Records" width="315" height="125" /></td>
<td width="485" bgcolor="F4F4F4">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>test
</td>
<td width="25" background="images/overall_side_r.gif">&nbsp;</td>
</tr>
</table>
</div>
</body>

</html>

now my problem is that im trying to colour the background on tables, but in firefox the bg colours on tables and cells wont load, but in i.e. they will.

what is an alternate way of doing this?? (im new to css and i dont know how to this in css, isnt there some class or something you can create?? =S ) any help is appreciated.
Codex (3761)
420120 2006-01-11 10:05:00 ok dont worry people i removed:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org
and it worked again.
Codex (3761)
420121 2006-01-13 09:41:00 Type # * File Type File Row Col Flag Message (0 errors, 12 warnings, 4 other)

Warning 5 Untitled Untitled 33 7 0 <table> Anchor "Table_01" already defined
<table id="Table_01" width="800" height="151" border="0" cellpadding="0" cellspacing="0">



Warning 2 Untitled Untitled 29 3 0 <table> lacks "summary" attribute
<table id="Table_01" width="852" height="600" border="0" cellpadding="0" cellspacing="0">

Warning 3 Untitled Untitled 29 3 0 <table> proprietary attribute "height"
<table id="Table_01" width="852" height="600" border="0" cellpadding="0" cellspacing="0">


Warning 4 Untitled Untitled 32 7 0 <td> attribute "bgcolor" has invalid value "EBEBEB"
<td width="802" align="center" valign="top" bgcolor="EBEBEB">




Comment 14 Untitled Untitled 0 0 0 12 warnings, 0 errors were found .


Comment 13 Untitled Untitled 0 0 0 Document appears to be HTML proprietary . Doctype given is "-//W3C//DTD HTML 4 . 01 Transitional//EN"




there may of been 12 warnings, but I only listed 4
This is error messages from HTML Kit
HTML-Kit - . chami . com/html-kit/" target="_blank">www . chami . com
Eric (378)
1