SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS image roll-over alignment is just a little off, need help please...

    Greetings,
    I've integrated this CSS roll-over image pop-up and I dig the results. However, I can't seem to get the table alignment to work just right. There seems to be an issue with a DIV tag that I can't figure out. If you view the page, you'll see that the thumbnail image is hanging outside the table. The desired result would be to have the thumbnail image fit cleanly in it's respective TD.

    HTML is here: http://www.flashflightholeinone.com/instructions.php
    Style sheet is here: http://www.flashflightholeinone.com/picturepopup.css

    Any help would be greatly appreciated in figuring out how to get the thumbnail images to fit completely in the master table.

    Thank you.

  2. #2
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Revision to this post: The roll-over works in IE but not in Firefox. Is there a tweak in the Stylesheet that needs to be made so FF displays the same as IE?

    Thanks!

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,288
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Remove the zero width and see what happens.

    Code:
    #pic {
        background-color: #FFFFFF;
        position: relative; 
    }
    #pic should be a class anyway as you are using it hundreds of times

  4. #4
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you! That took care of the alignment in FF.
    I really appreciate your time!
    Peace.


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
  •