Jump to content


Photo

Justify images

justify images image center gallery

  • Please log in to reply
1 reply to this topic

#1 Fila54

Fila54
  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 07 April 2013 - 06:54 PM

Hi ! 

I've got a little problem with creating my gallery. What I want is simply gallery which perfectly fits to my website. So I decided to make a lightbox gallery where thumbnails are justify.

And there is my question how can I justify images in my div? I don't want to center them.

 



#2 denno020

denno020
  • Members
  • PipPipPip
  • Advanced Member
  • 752 posts
  • LocationAustralia

Posted 20 April 2013 - 07:15 AM

One thing you could do is set them as the background to the div, set the width of the background to the width of the div, and the height automatically set to whatever keeps the image in proportions. This is basically exactly like the windows desktop background display method called 'fill'.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users