Results 1 to 4 of 4
Thread: Align in div
-
April 11th, 2012, 06:53 AM #1
Align in div
Hello. Basically, on this page (http://www.media displays.tv/cs.php)I simply want to align the text/link 'read case study' to the bottom of that section. So that it is inline with the bottom of the image to the left of it.
I've found a few answers to this question but none seem to fit my situation, perhaps my code is a bit messy somewhere?
Thanks in advance...
-
May 29th, 2012, 01:54 AM #21Registered User
postsI could still use some assistance with questions to this problem but have sprites up and running enough to pass validation for now with it. Thanks !!
-
May 29th, 2012, 10:12 AM #346Registered User
posts,
try adding changing your style sheet
add the extra line, adjust the 100px to your needs, its not the perfect solution but works.Code:.smalllink{ font-size: 10px; float: right; margin:100px 0; }
hobby: fgps.com/keith
-
May 29th, 2012, 11:50 PM #4
If you set one of the container elements to relative positioning you can absolutely position the link relative to it's container. Something like the example below would work. I'd suggest that unless you are re-using the style applied to these elements that you refer to the container with an ID instead of a class, that will make the style less ambigious.
Code:div.video { position: relative; } div.video .smalllink { position: absolute; bottom: 18px; right: 0; }

Reply With Quote

Bookmarks