chosenones
Programmer
Here is the code with borders ON so you can see what is happening:
OK, here's the problems: First, this looks horrible everywhere but my (preferred) Mozilla browser (see screenshots below). Second, the first row of the table contains
attributes. Without these, the page doesn't even look good in Mozilla, but these cause the W3C validator to choke.
I didn't try Netscape yet.
How do I get this to work?
Screenshots:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>The Cheramie's Home Page</title>
<style type="text/css">
td.hframingcell {height: 16px; background: url(borderH.gif) repeat-x}
td.vframingcell {width: 16px; background: url(borderV.gif) repeat-y}
/*16 different corner types*/
td.framingcell0000 {width: 16px; height: 16px; background: url(border0000.gif) no-repeat}
td.framingcellX000 {width: 16px; height: 16px; background: url(borderX000.gif) no-repeat}
td.framingcell0X00 {width: 16px; height: 16px; background: url(border0X00.gif) no-repeat}
td.framingcellXX00 {width: 16px; height: 16px; background: url(borderXX00.gif) no-repeat}
td.framingcell00X0 {width: 16px; height: 16px; background: url(border00X0.gif) no-repeat}
td.framingcellX0X0 {width: 16px; height: 16px; background: url(borderX0X0.gif) no-repeat}
td.framingcell0XX0 {width: 16px; height: 16px; background: url(border0XX0.gif) no-repeat}
td.framingcellXXX0 {width: 16px; height: 16px; background: url(borderXXX0.gif) no-repeat}
td.framingcell000X {width: 16px; height: 16px; background: url(border000X.gif) no-repeat}
td.framingcellX00X {width: 16px; height: 16px; background: url(borderX00X.gif) no-repeat}
td.framingcell0X0X {width: 16px; height: 16px; background: url(border0X0X.gif) no-repeat}
td.framingcellXX0X {width: 16px; height: 16px; background: url(borderXX0X.gif) no-repeat}
td.framingcell00XX {width: 16px; height: 16px; background: url(border00XX.gif) no-repeat}
td.framingcellX0XX {width: 16px; height: 16px; background: url(borderX0XX.gif) no-repeat}
td.framingcell0XXX {width: 16px; height: 16px; background: url(border0XXX.gif) no-repeat}
td.framingcellXXXX {width: 16px; height: 16px; background: url(borderXXXX.gif) no-repeat}
td.links {width: 25%;}
</style>
</head>
<body>
<table cellspacing="0" cellpadding="0" width="75%" border="1">
<tr>
<td width="16px"> </td>
<td width="25%"> </td>
<td width="16px"> </td>
<td width="*"> </td>
<td width="16px"> </td>
</tr>
<tr>
<td class="framingcell0XX0"></td>
<td class="hframingcell"></td>
<td width="16px" class="hframingcell"></td>
<td class="hframingcell"></td>
<td class="framingcell00XX"></td>
</tr>
<tr>
<td class="vframingcell"></td>
<td colspan="3"><h1>The Cheramie's Home Page</h1></td>
<td class="vframingcell"></td>
</tr>
<tr>
<td class="framingcellXXX0"></td>
<td class="hframingcell"></td>
<td class="framingcell0XXX"></td>
<td class="hframingcell"></td>
<td class="framingcellX00X"></td>
</tr>
<tr>
<td class="vframingcell"></td>
<td class="links">Links bar here</td>
<td class="vframingcell"></td>
<td rowspan="3" colspan="2">(Some long content)</td>
</tr>
<tr>
<td class="framingcellXX00"></td>
<td class="hframingcell"></td>
<td class="framingcellX00X"></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
</table>
</body>
</html>
OK, here's the problems: First, this looks horrible everywhere but my (preferred) Mozilla browser (see screenshots below). Second, the first row of the table contains
Code:
width
I didn't try Netscape yet.
How do I get this to work?
Screenshots: