×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    1

    table, image, spacing

    anyone know that

    <table>
    <tr><td hspace="0" vspace="0">
    [ an image file part1]
    </td></tr>
    <tr><td hspace="0" vspace="0">
    [ another image file part2]
    </td></tr>
    </table>

    I tried to show 2 continous images in 2 rows.
    But,l unfortunately the table shows "space" between 2 cells that's break the images.

    how I can set the table having no spacing and showing 2 images like 1 ?

    thx

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    23
    Are you trying to do that in XHTML? If so, I think that the hspace and vspace Attributes are not supported.
    You might achieve a similar result by using stylesheets...

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Test</title>
    <style type="text/css">
    .noSpace {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    }
    </style>
    </head>
    <body>
    <table>
    <tr>
    <td class="noSpace"> [ an image file part1]</td>
    </tr>
    <tr>
    <td class="noSpace"> [ another image file part2]</td>
    </tr>
    </table>
    </body>
    </html>

Posting Permissions

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