Results 1 to 3 of 3

Thread: positioning/image thumbnail viewer II

  1. #1
    Join Date
    Mar 2006
    Posts
    75
    Thanks
    17
    Thanked 0 Times in 0 Posts

    Default positioning/image thumbnail viewer II

    can someone please go to my site www.makeovermagic.org and click on GALLERY ONE -- i want to get the images centered in the gray box (within a table), but i have tried all that i can to make this happen, and nothing is working. the images are all different widths/heights so i can't set left or right; i was able to set "top" which was helpful, and now i just want them centered.



    thanks,

    Marsha

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You are using too much position:relative; and position:absolute; on your page. Also, inserting elements just to center another element is rarely a good idea. Things will work out fairly well (for the table at least) if you change all this:

    HTML Code:
    <div align="center">
      <center>
    
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    
    <table border="0" bordercolor="#000000" cellspacing="0" bordercolorlight="#C0C0C0" bordercolordark="#000000" style="border-collapse: collapse; position:absolute; top:100" cellpadding="0"><tr>
      <td id="dynloadarea" width="26" height="18">
      </td></tr></table>
      
    
      </div>
    
      
    
      <p>&nbsp;</p>
      
    
      </center>
    </div>
    to:

    HTML Code:
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    
    <table align="center" border="0" cellspacing="0" cellpadding="0"><tr>
      <td id="dynloadarea" width="770" height="640" style="text-align:center;vertical-align:middle;">
      </td></tr></table>
      
    
    
    
      
    
      <p>&nbsp;</p>
    The only huge problem then being that:

    http://www.makeovermagic.org/bianca.jpg

    is too wide for the background.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2006
    Posts
    75
    Thanks
    17
    Thanked 0 Times in 0 Posts

    Default

    John, thanks - i know there's a lot going on with the page - i just didn't know what could and could not be deleted -- i've printed out what you wrote and will work on cleaning it up and resizing some of the images.

    thanks again for your time,

    Marsha

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
  •