seventheyejosh Posted July 2, 2009 Share Posted July 2, 2009 Hello all! I have images with text underneath them.. the images vary in height and i'd like to align them based on the bottom text. So my question is, what css can i use to make the contents of the div vertical align bottom, then pad off the bottom, say, 10px? Thanks in advance and sorry if this is simple, im a programmer, and my graphics guy is out of the office today. Thanks Link to comment https://forums.phpfreaks.com/topic/164542-solved-inner-div-stuff/ Share on other sites More sharing options...
haku Posted July 2, 2009 Share Posted July 2, 2009 Not sure what you are trying to describe here. Link to comment https://forums.phpfreaks.com/topic/164542-solved-inner-div-stuff/#findComment-867891 Share on other sites More sharing options...
Hybride Posted July 2, 2009 Share Posted July 2, 2009 I'll take a shot at it: #content{vertical-align:text-bottom; padding: 0 0 10px 0} I used shorthand for the padding, where the values are top right bottom left. Vertical align in CSS. Link to comment https://forums.phpfreaks.com/topic/164542-solved-inner-div-stuff/#findComment-867892 Share on other sites More sharing options...
seventheyejosh Posted July 2, 2009 Author Share Posted July 2, 2009 Awesome thanks! And sorry if i wasnt very clear... im justa programmer Link to comment https://forums.phpfreaks.com/topic/164542-solved-inner-div-stuff/#findComment-867900 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.