Results 1 to 7 of 7

Thread: Modifications to thumnail rollover script

  1. #1
    Join Date
    Jan 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Modifications to thumnail rollover script

    I have a few queries about the thumnail rollover script.

    These are:

    1. How can l get the large image and the thumnail image both be the same distance from the navbar?

    2. How do l make the space between the top and bottom of the thumnails the same?

    http://www.icphotography.port5.com/g...le_backup.html

  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

    Your link is mangled, repost it without copying it from a previous message.
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

  4. #4
    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

    That's a pretty unconventional layout. You would probably be better off putting the thumbnails and the large image display area in a single table and controlling the heights and spacing using individual style to pad the cells. However, for FF and IE (not Opera), this worked locally -

    In the stylesheet:

    Code:
    #thumbpiccys {
    margin-left: 5px;
    margin-top:-13px!important;
    margin-top:-12px;
    z-index:100;
    position:relative;
    }
    In the markup:

    HTML Code:
    <div id="dynloadarea" style="width:150px;height:200px; float: left;margin-top:-5px!important;margin-top:-8px;"></div>
    - John
    ________________________

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

  5. #5
    Join Date
    Jan 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You mention putting the thumnails in a table, l have not done css tables and so will have to use the method you specified.

    I tried what you mentioned and have a few questions.

    1. How do l move the thumnails a bit further down from the navbar , so that the first row of thumnails is aligned with the top of the photo?

    2. The vertical space seems to be less than the horizontal space in the thumnails, how do l make this the same?


    I would appreciate it very much if you could answer these issues for me,thanks.
    Last edited by clubamigos; 03-07-2006 at 02:20 PM.

  6. #6
    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

    Quote Originally Posted by clubamigos
    You mention putting the thumnails in a table, l have not done css tables and so will have to use the method you specified.
    Tables are easy, and there are many resources on the web for styling them and the other HTML elements. I see your markup already has tables, used as, gulp, spacers. That is not the way to go, they are too difficult to standardize. Another thing to consider is, instead of striving to get your images to fall precisely on the page, let them fall where they may, as long as it is close to where you want them as, different browsers and window sizes will move them around anyway.
    - John
    ________________________

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

  7. #7
    Join Date
    Jan 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think doing css tables is going to be a challenge as l have not done these before. I don't know where to start?

    Any suggestions?

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
  •