Delphi
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Tutorialized ForumsDesktop ProgrammingDelphi

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old June 21st, 2005, 02:44 PM
X.Core X.Core is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 12 X.Core New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 9th, 2005, 03:05 PM
Existence-Infinito Existence-Infinito is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: 127.0.0.1
Posts: 1 Existence-Infinito New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Existence-Infinito Send a message via MSN to Existence-Infinito Send a message via Yahoo to Existence-Infinito
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.

Reply With Quote
Reply

Viewing: Tutorialized ForumsDesktop ProgrammingDelphi > Table problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway