Larry Vollmer
asked on
Snap images to the bottom of a div
I've attached some fairly simple markup.
I need the images to snap to the bottom of the div. Right now they snap to the top. My efforts to resolve this have not gone well. Any help with this is appreciated.
ee.html
I need the images to snap to the bottom of the div. Right now they snap to the top. My efforts to resolve this have not gone well. Any help with this is appreciated.
ee.html
ASKER
This was a solution I tried that I thought would work, but it did not
https://www.dropbox.com/s/k41gyfrbbh5r9td/Screenshot%202016-08-03%2008.38.39.png?dl=0
https://www.dropbox.com/s/k41gyfrbbh5r9td/Screenshot%202016-08-03%2008.38.39.png?dl=0
ASKER
the float-right is what seems to be causing the issue. It somehow breaks the vertical alignment
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you
Open in new window
As a side note, relative is the default value for the position property and zero is the default value for all four position direction properties (left, right, bottom, and top). So position: relative; left: 0; bottom: 0; is unnecessary. The only time position: relative; is useful without a great-than-zero value for at least one of the four position directions is when you want to establish the origin of positioning for descendant elements.