virtuexru Posted March 8, 2007 Share Posted March 8, 2007 OK. So the image/background image I want to stretch out is circled in red: Here is the code for this section in the CSS: .rightsub { background-image: url(img/rightsub.gif); min-height: 50px; } For the actual page file: <div id="navigation"> <div class="rightsub"> </div> </div> The navigation ID in question is: #navigation { float: left; width: 200px; } Link to comment https://forums.phpfreaks.com/topic/41811-stretch-image-100-problem/ Share on other sites More sharing options...
jcombs_31 Posted March 8, 2007 Share Posted March 8, 2007 You want it to stretch 100% where? Vertically? Link to comment https://forums.phpfreaks.com/topic/41811-stretch-image-100-problem/#findComment-202772 Share on other sites More sharing options...
virtuexru Posted March 8, 2007 Author Share Posted March 8, 2007 Yea, down to the bottom. Link to comment https://forums.phpfreaks.com/topic/41811-stretch-image-100-problem/#findComment-202937 Share on other sites More sharing options...
virtuexru Posted March 12, 2007 Author Share Posted March 12, 2007 Bump.. Link to comment https://forums.phpfreaks.com/topic/41811-stretch-image-100-problem/#findComment-205424 Share on other sites More sharing options...
jcombs_31 Posted March 12, 2007 Share Posted March 12, 2007 It will not work that way with css alone unless you are using a fixed width you can use faux columns. THere is another method using borders but that will not let you use images like the pattern you have. If you want you can use javascript to dynamically set the height based on that content section. Link to comment https://forums.phpfreaks.com/topic/41811-stretch-image-100-problem/#findComment-205608 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.