SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2005
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    tables 2 for row

    hi,

    i'd like the tables showed here:

    http://sharkydesign.it/portfolio.html

    to be 2 for row

    i screwed up the code and now on third row it shows 3 tables

    can u fix the code please?

    Code:
    <div class="bodyText">
      <table width="766" height="201" border="0">
      <tr>
        <td width="363"><table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td width="284" class="alertHd">San Carlo Basket</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/sancarlo.jpg" alt="San Carlo Basket"/>
    <br />
    Il sito ufficiale della <b>Pallacanestro San Carlo</b>
    <br />
    <a href="http://www.sancarlobasket.com" target="_blank">www.sancarlobasket.com</a>
    </p>
    </td>
    </tr>
    </table></td>
        <td width="387"><table cellspacing="0" class="alerts" summary="Standard alerts box">
    <tr>
    <td width="244" class="alertHd">As San Carlo Sesto</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/calcio.jpg" alt="San Carlo Sesto Calcio"/>
    <br />
    Il sito dell'AS San Carlo Sesto di Calcio
    <br />
    <a href="http://www.assancarlosesto.com" target="_blank">www.assancarlosesto.com</a>
    </p>
    </td>
    </tr>
    </table></td>
      </tr>
      <tr>
        <td><table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td class="alertHd">Rondinella Basket</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/rondinella.jpg" alt="Rondinella Basket"/>
    <br />
    Rondinella Basket: sito ufficiale
    <br />
    <a href="http://www.rondinellabasket.com/" target="_blank">www.rondinellabasket.com</a>
    </p>
    </td>
    </tr>
    </table>&nbsp;</td>
        <td>
    <table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td class="alertHd">Christian Recalcati</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/recalcati.jpg" alt="Christian Recalcati"/>
    <br />
    Il sito di Christian Recalcati, giornalista sportivo
    <br />
    <a href="http://www.ilreca.it/" target="_blank">www.ilreca.it</a>
    </p>
    </td>
    </tr>
    </table>
    
    <td>
    <table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td class="alertHd">Pizzeria Micky Mouse</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/pizzamicky.jpg" alt="Pizzeria"/>
    <br />
    Il sito di Christian Recalcati, giornalista sportivo
    <br />
    <a href="http://www.pizzeriamickymouse.it/" target="_blank">www.pizzeriamickymouse.it</a>
    </p>
    </td>
    </tr>
    </table>
    </td>
    
    
    
    
    </td>
      </tr>
    </table>
      </div>

  2. #2
    Guru in training bronze trophy SoulScratch's Avatar
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    1,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <div class="bodyText">
      <table width="766" height="201" border="0">
      <tr>
        <td width="363"><table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td width="284" class="alertHd">San Carlo Basket</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/sancarlo.jpg" alt="San Carlo Basket"/>
    <br />
    Il sito ufficiale della <b>Pallacanestro San Carlo</b>
    <br />
    <a href="http://www.sancarlobasket.com" target="_blank">www.sancarlobasket.com</a>
    </p>
    </td>
    </tr>
    </table></td>
        <td width="387"><table cellspacing="0" class="alerts" summary="Standard alerts box">
    <tr>
    <td width="244" class="alertHd">As San Carlo Sesto</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/calcio.jpg" alt="San Carlo Sesto Calcio"/>
    <br />
    Il sito dell'AS San Carlo Sesto di Calcio
    <br />
    <a href="http://www.assancarlosesto.com" target="_blank">www.assancarlosesto.com</a>
    </p>
    </td>
    </tr>
    </table></td>
      </tr>
      <tr>
        <td><table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td class="alertHd">Rondinella Basket</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/rondinella.jpg" alt="Rondinella Basket"/>
    <br />
    Rondinella Basket: sito ufficiale
    <br />
    <a href="http://www.rondinellabasket.com/" target="_blank">www.rondinellabasket.com</a>
    </p>
    </td>
    </tr>
    </table>&nbsp;</td>
        <td>
    <table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td class="alertHd">Christian Recalcati</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/recalcati.jpg" alt="Christian Recalcati"/>
    <br />
    Il sito di Christian Recalcati, giornalista sportivo
    <br />
    <a href="http://www.ilreca.it/" target="_blank">www.ilreca.it</a>
    </p>
    </td>
    </tr>
    </table>
    <tr>
    <td colspan=2>
    <table summary="Standard alerts box" class="alerts" cellspacing="0">
    <tr>
    <td class="alertHd">Pizzeria Micky Mouse</td>
    </tr>
    <tr>
    <td class="alertBod">
    <p>
    <br />
    <img src="/images/pizzamicky.jpg" alt="Pizzeria"/>
    <br />
    Il sito di Christian Recalcati, giornalista sportivo
    <br />
    <a href="http://www.pizzeriamickymouse.it/" target="_blank">www.pizzeriamickymouse.it</a>
    </p>
    </td>
    </tr>
    </table>
    </td>
    
    </tr>
    
    
    
    </td>
      </tr>
    </table>
      </div>
    Though I wouldn't recommend tables.
    Cross browser css bugs

    Dan Schulz you will be missed

  3. #3
    SitePoint Zealot
    Join Date
    Mar 2005
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, so what's the code i have to add every time i want to add 2 more table in a row?

  4. #4
    Guru in training bronze trophy SoulScratch's Avatar
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    1,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, you need to make a new row with '<tr>' and close it as well.
    Cross browser css bugs

    Dan Schulz you will be missed

  5. #5
    SitePoint Zealot
    Join Date
    Mar 2005
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there is something strange with the spaces, have a look please http://i41.tinypic.com/15caie.jpg

    http://sharkydesign.it/portfolio.html


Bookmarks

Posting Permissions

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