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; } Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
virtuexru Posted March 8, 2007 Author Share Posted March 8, 2007 Yea, down to the bottom. Quote Link to comment Share on other sites More sharing options...
virtuexru Posted March 12, 2007 Author Share Posted March 12, 2007 Bump.. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.