Jump to content



Photo

Help with DIV Alignment

css

  • Please log in to reply
3 replies to this topic

#1 wrack

wrack

    Wireless Robotic Android Calibrated for Killing

  • Joined: 09-December 06
  • Location: Melbourne, Australia

Posted 19 September 2012 - 13:55

Hi,

I am working on a new site for a client and I have problem with DIV alignment. I just can't figure out why it is not aligning properly.

Working on this page http://demo.theirish...u/Gallery/Video
NOT Working on this page http://demo.theirish...u/Gallery/Photo

Essentially both of them pages are copy of each other but I can't for the life of me figure out where the extra space is coming from on the PhotoGallery page!

Any help would be great.

Cheers :)


#2 OP wrack

wrack

    Wireless Robotic Android Calibrated for Killing

  • Joined: 09-December 06
  • Location: Melbourne, Australia

Posted 20 September 2012 - 01:14

Never mind. I figured it out with a second pair of eyes at work. Turns out the CSS issue.

#3 Xoligy

Xoligy

    Neowinian

  • Joined: 09-May 10

Posted 20 September 2012 - 01:22

I was just about to post that i figured it out with my very limited css knowledge drat! lol gld you figured it.

this is what i had:


.PhotoGalleryData .PhotoWrapper

{

height: 400px;

padding: 10px;

position:absolute;

}


#4 OP wrack

wrack

    Wireless Robotic Android Calibrated for Killing

  • Joined: 09-December 06
  • Location: Melbourne, Australia

Posted 20 September 2012 - 05:41

Different solution than what I did but I shall try that.

I used below on the .Photo class.

overflow: hidden;

Cheers :)



Click here to login or here to register to remove this ad, it's free!