SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Captions Jump

  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2008
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Captions Jump

    In my image galleries, my captions first appear about 5-10 pixels lower than their final spot. The "jump" looks awkward.

    How can I fix this?

    http://www.westhartfordfence.com/products/gates/

    Thanks
    Keith

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,622
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    This seems like this would be a javascript issue. On click the Javascript is doing all the work, so I doubt it's in the CSS.

    Just inform me with a few things though, on click, does the JS add any classes to it? The caption I mean. If so, check if any postioning is different there.

    You also have invalid HTML, a <div> nested within an inline element such as the <span> It's possible that's causing the error. I'd fix up the HTML along with any other validation errors first. No point trying to fix a page if it has major errors in it .
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


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
  •