Get a free trial // Grow your CSS skills // Land your dream job

Weird issue with first 3 images of gallery

  • # November 12, 2012 at 3:11 pm


    I am in the process of implementing a lightbox gallery on a website I am doing – for some reason though the first 3 images appear at different heights of the page:

    I am experiencing this on Chrome and on Firefox, any ideas?

    # November 12, 2012 at 3:16 pm

    why do you have them as p tags?

    # November 12, 2012 at 3:25 pm

    I have just fixed the problem with p tags but the first 3 images are still doing the same thing..

    # November 12, 2012 at 3:59 pm

    I can’t see the source code because I’m on my phone but maybe try display: inline?

    # November 12, 2012 at 4:58 pm

    I tried that, it happens no matter what image is used as well

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed