Glenskie Posted August 22, 2013 Share Posted August 22, 2013 hi i would like to have my css test box attached to the side of the box like it is on the second picture ... any way to do it ? #socialbox { background-color: #FFF; padding: 7px; height:200px; width:35px; border: 1px solid #DBDBDB; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -webkit-box-shadow: #E4E4E4 0px 0px 5px; -moz-box-shadow: #E4E4E4 0px 0px 5px; box-shadow:#E4E4E4 0px 0px 5px; margin-bottom: 5px; /* max-width:50px; max-height:100px; */ float:right; margin-right:180px; } Link to comment https://forums.phpfreaks.com/topic/281447-css-attach-to-side-of-box-no-matter-what-size/ Share on other sites More sharing options...
kicken Posted August 22, 2013 Share Posted August 22, 2013 Have both the image and the social box float: left; See: http://cssdesk.com/ywJGT Link to comment https://forums.phpfreaks.com/topic/281447-css-attach-to-side-of-box-no-matter-what-size/#findComment-1446213 Share on other sites More sharing options...
Glenskie Posted August 22, 2013 Author Share Posted August 22, 2013 THANK YOU !!!! Link to comment https://forums.phpfreaks.com/topic/281447-css-attach-to-side-of-box-no-matter-what-size/#findComment-1446215 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.