Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    image not aligning right, please help.

    i'm helping someone fix a layout they have & everything is working except that i can't get the one image to align properly. could someone please help?

    layout screenshot

    here is the coding for that area:

    Code:
    <div id="overall" style="position: absolute; left: 0px; top: 0px; z-index: 0; overflow: visible;">
    
    <table width=780 border=0 cellpadding=0 cellspacing=0>
    
    <tr>
        <td rowspan=2><img src="images/index_01.jpg" width="223" height="155"></td>
        <td><img src="images/index_02.jpg" width="374" height="154"></td>
        <td><img src="images/index_03.jpg" width="183" height="154"></td>
        <td><img src="images/spacer.gif" width="1" height="154"></td>
    </tr>
    <tr>
        <td rowspan=2><img src="images/index_04.jpg" width="374" height="32"></td>
        <td rowspan=4><img src="images/index_05.jpg" width="183" height="155"></td>
        <td><img src="images/spacer.gif" width=1 height=1></td>
    </tr>
    <tr>
        <td rowspan=2><img src="images/index_06.jpg" width="223" height="76"></td>
        <td><img src="images/spacer.gif" width=1 height=31></td>
    </tr>
    <tr>
       <td rowspan=2><img src="images/index_07.jpg" width="355" height="56"></td>
       <td><img src="images/spacer.gif" width="1" height="45"></td>
    </tr>
    <tr>
        <td><img src="images/index_08.jpg" width="223" height="78"></td>
        <td><img src="images/spacer.gif" width="1" height="78"></td>
    </tr>
    </table>
    </div>

  • #2
    Regular Coder
    Join Date
    Nov 2005
    Posts
    329
    Thanks
    3
    Thanked 19 Times in 19 Posts
    Could not open the page, but if you put a temporary border and numbers for each of the cells, you will see where the problem lies. I think it may be because the total width of your images per row is larger than the total width of the table itself.

  • #3
    Registered User
    Join Date
    Oct 2006
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe you should try using css divs, they are easier t manage and stuff...learn up on em. tables are now obsolete :0! replace your tables with css divs.


  •  

    Posting Permissions

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