www.webdeveloper.com
Results 1 to 4 of 4

Thread: table - just a little help

  1. #1
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    55

    Question table - just a little help

    I got my table almost done put everything in the is centering. I only wanted to center the logos.
    here's the code...and yes i know i have a space towards the end. i'm still working on it. this code is up and on my site if you would like to see what i'm talking about with the lines centering. I want them to the left.
    http://emralddragoncreations.com/lis...CodesUsed.html


    <head><title>HTML codes that was used on this site</title></head>
    <body>
    <table border="10" cellpadding="0" cellspacing="20" width="850" height="650px"><tr><td><tfoot align="left"><b>EDC</b> <i>Last updated:<br>August 16,2005</i></td></tr>
    <tr><td><center><A HREF="http://javascriptsource.com"><img src="http://javascript.internet.com/img/jss-micro.gif"></A></center><br>
    <ul style="list-style: disc:"><font size="2"><li>Some of the Java scripts that this site used.</li><ul> <style="list-style: decimal :"><li>Disabling the right click</li><li>Accept terms Buttom</li><li>Java Script link to their site</li></ol></ul></td></font>
    <td><center><a href="http://gotomy.com/index.html">
    <img src="http://gotomy.com/logo50.gif" width="130" height="50" alt="Gotomy.com" border="0"></a></center>
    <font size="2"><ul style="list-style: disc:"><center><li>All we ended up using from this site was their color chart, because they had some colors we hadn't seen before.</center></li></ul></p></td>
    <p><td><center><a href="http://www.web-source.net">
    <img src="http://www.web-source.net/graphics/sm_ws_logo.gif" border="0" height="45" width="116"></a>
    <font size="2"><ul style="list-style: disc:"><li>Here we found some cool things to do with text effects</li></ol></ul></center></p></td></tr>

    </ol</ul></center></font>


    <p><tr><td><center><a href="http://www.emralddragoncreations.com/copyrightandtheInternetlaws.html"><font size="2">&copy;Copyright</a> 2005 Emrald_Dragon_Creations</font></center></td></tr></p></table>
    </body>
    Things made with a personal touch

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    If you just want to center the images then make them

    display:block
    and
    margin:20px auto
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  3. #3
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    55
    how would the code for that go?
    Things made with a personal touch

  4. #4
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,972
    Like so:
    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html lang="en">
    <head>
    <title>HTML codes that was used on this site</title>
    <style type="text/css">
    <!--
    td{
    border: 10px outset #fff;
    vertical-align: top;
    }
    td a{
    text-align: center;
    display: block;
    }
    td a img{
    margin: auto;
    border: 0;
    }
    
    -->
    </style>
    </head>
    <body>
    <p><abbr>EDC</abbr> <i>Last updated:<br>August 16,2005</i></p>
    <table>
    <tr>
    <td><A HREF="http://javascriptsource.com"><img src="http://javascript.internet.com/img/jss-micro.gif"></a>
    <ul>
    <li>Some of the Java scripts that this site used.
    <ul>
    <li>Disabling the right click (can't really be done)</li>
    <li>Accept terms Buttom</li>
    <li>Java Script link to their site</li>
    </ul>
    </li>
    </ul>
    </td>
    <td>
    <a href="http://gotomy.com/index.html">
    <img src="http://gotomy.com/logo50.gif" width="130" height="50" alt="Gotomy.com"></a>
    <ul>
    <li>All we ended up using from this site was their color chart, because they had some colors we hadn't seen before.</li>
    </ul>
    </td>
    <td>
    <a href="http://www.web-source.net"><img src="http://www.web-source.net/graphics/sm_ws_logo.gif" height="45" width="116"></a>
    <ul>
    <li>Here we found some cool things to do with text effects</li>
    </ul>
    </td></tr>
    </table>
    <p><a href="http://www.emralddragoncreations.com/copyrightandtheInternetlaws.html">&copy; Copyright</a> 2005 Emrald_Dragon_Creations</p>
    </body>
    </html>
    Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
    (2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles