| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Table problem
EDIT: Sorry, this is in the wrong forum. Move it to Web design someone?
Ok, I am using this HTML: Code:
<table cellspacing=0 cellpadding=5 width=400 border=0 align="center">
<tbody>
<tr valign=top>
<td colspan=5></td>
<td bgcolor=#ffcccc width="54"></td>
<td colspan=2></td>
</tr>
<tr valign=top>
<td width="6"></td>
<td bgcolor=#88bbbb width="56"></td>
<td colspan=2></td>
<td bgcolor=#cc3333 colspan=2 rowspan=2>
<font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><font color="#FFCFCE">Web
Services
</font>Professional and cost effective web design, development
and promotion services </font></p>
</td>
<td bgcolor=#ddaaaa width="3"></td>
<td></td>
</tr>
<tr valign=top>
<td bgcolor=#99cccc width="6"></td>
<td bgcolor=#006666 colspan=2 rowspan=2>
<font face="Arial, Helvetica, sans-serif" size="2" color="#8CBABD">Web
Products
</font><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">Interactive
Web Products - Flash Survey, poll, Guest book, Instant Quote </font></p>
</td>
<td width="20">[img]/images/23pixels.gif[/img]</td>
<td colspan=2 rowspan=2></td>
</tr>
<tr valign=top>
<td width="6"></td>
<td bgcolor=#254D78 colspan=3 rowspan=3>
<p align="center"><font face="Arial, Helvetica, sans-serif" color="#FFFFFF" size="+3"><font size="+2">Entheos</font></font></p>
<p align="center"><font face="Arial, Helvetica, sans-serif" size="3"><font color="#A5C5E2">Your
key to a powerful Net presence</font></font></p>
</td>
</tr>
<tr valign=top>
<td colspan=2></td>
<td bgcolor=#77aaaa width="54"></td>
<td bgcolor=#B9D3EC colspan=2 rowspan=2></td>
</tr>
<tr valign=top>
<td width="6"></td>
<td bgcolor=#FFCF63 colspan=2 rowspan=4>
<font face="Arial, Helvetica, sans-serif" size="2" color="#FFF4DF"><font color="#FFF5DF">Web
Resources</font>
</font><font face="Arial, Helvetica, sans-serif" size="2">Free
web resources - articles, tutorials, tips and tricks </font></p>
</td>
</tr>
<tr valign=top>
<td bgcolor=#FFE3AD width="6" rowspan="3"></td>
<td rowspan=3 width="20">
</p>
</td>
<td width="10" bgcolor=#BDD3EF></td>
<td colspan=3 bgcolor=#357CC4 rowspan=3><font face="Arial, Helvetica, sans-serif" size="2" color="#BDD3EF">Contact
Us </font><font face="Arial, Helvetica, sans-serif" size="2">
<font color="#FFFFFF">Contact us for more details through our contact
us form, questionnaire, review </font></font></td>
</tr>
<tr valign=top>
<td width="1" bgcolor="#BDD3EF"></td>
</tr>
<tr valign=top>
<td width="1"></td>
</tr>
</tbody>
</table>
And, when i view it in IE, it doesn't work. HOWEVER, when i view it in Opera, it looks perfect. CAn anyone help me? i got this off of this tutorial here http://www.tutorialized.com/tutoria...s-n-Tricks/5058 please help --X |
|
#2
|
|||
|
|||
|
Maybe?
Edit: Oh, yeah. Sorry, by the way, I came to the conclusion that this may be causing errors because when you originally posted your work, only some of the variables were stated with " " As the others weren't. You should try to use ""'s as much as possible, as I think ( Not sure ) it assists the browser in reading the text. Also, maybe a CSS Sheet could help it a bit more as well.
The only thing I'm curious to, is as to why you don't make an Image in Adobe Photoshop, and Slice it from there, and then fill in whatever you need, wherever you need it. As Adobe will do all of the coding for you. Anyways, when I viewed this code in both MoZilla FireFox Ver. 1.0, and Internet Explorer it came out with the very same view, so I'm assuming that it's either the correct, or improper view, but it looks correct to me. Code:
<?PHP
$PTitle="ETHEOS.";
echo "<html>
<head>
<title>$PTitle</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
</head>
<body align=\"center\">
<table cellspacing=0 cellpadding=5 width=400 border=0 align=\"center\">
<tbody>
<tr valign=top>
<td colspan=5></td>
<td bgcolor=#ffcccc width=\"54\"></td>
<td colspan=2></td>
</tr>
<tr valign=top>
<td width=\"6\"></td>
<td bgcolor=#88bbbb width=\"56\"></td>
<td colspan=2></td>
<td bgcolor=#cc3333 colspan=2 rowspan=2>
<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\"><font color=\"#FFCFCE\">Web
Services
</font>Professional and cost effective web design, development
and promotion services </font></p>
</td>
<td bgcolor=#ddaaaa width=\"3\"></td>
<td></td>
</tr>
<tr valign=top>
<td bgcolor=#99cccc width=\"6\"></td>
<td bgcolor=#006666 colspan=2 rowspan=2>
<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#8CBABD\">Web
Products
</font><font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">Interactive
Web Products - Flash Survey, poll, Guest book, Instant Quote </font></p>
</td>
<td width=\"20\"><img src=\"/images/23pixels.gif\" width=\"50\" height=\"5\"></td>
<td colspan=2 rowspan=2></td>
</tr>
<tr valign=top>
<td width=\"6\"></td>
<td bgcolor=#254D78 colspan=3 rowspan=3>
<p align=\"center\"><font face=\"Arial, Helvetica, sans-serif\" color=\"#FFFFFF\" size=\"+3\"><font size=\"+2\">Entheos</font></font></p>
<p align=\"center\"><font face=\"Arial, Helvetica, sans-serif\" size=\"3\"><font color=\"#A5C5E2\">Your
key to a powerful Net presence</font></font></p>
</td>
</tr>
<tr valign=top>
<td colspan=2></td>
<td bgcolor=#77aaaa width=\"54\"></td>
<td bgcolor=#B9D3EC colspan=2 rowspan=2></td>
</tr>
<tr valign=top>
<td width=\"6\"></td>
<td bgcolor=#FFCF63 colspan=2 rowspan=4>
<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFF4DF\"><font color=\"#FFF5DF\">Web
Resources</font>
</font><font face=\"Arial, Helvetica, sans-serif\" size=\"2\">Free
web resources - articles, tutorials, tips and tricks </font></p>
</td>
</tr>
<tr valign=top>
<td bgcolor=#FFE3AD width=\"6\" rowspan=\"3\"></td>
<td rowspan=3 width=\"20\">
</p>
</td>
<td width=\"10\" bgcolor=#BDD3EF></td>
<td colspan=3 bgcolor=#357CC4 rowspan=3><font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#BDD3EF\">Contact
Us </font><font face=\"Arial, Helvetica, sans-serif\" size=\"2\">
<font color=\"#FFFFFF\">Contact us for more details through our contact
us form, questionnaire, review </font></font></td>
</tr>
<tr valign=top>
<td width=\"1\" bgcolor=\"#BDD3EF\"></td>
</tr>
<tr valign=top>
<td width=\"1\"></td>
</tr>
</tbody>
</table>
</body>
</html>
";
?>
This is the code I reformatted, maybe you could try this in IE and/or Opera. Hopefully this solves your problem. I'm rather new to coding myself, so I understand the turmoil of trying to get something so confusing to work. Though, I still suggest you do it in Photoshop with an Image, as you'll find it much more easy-going and less work, for a better finished product. Enjoy. |
![]() |
| Viewing: Tutorialized Forums > Desktop Programming > Delphi > Table problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|