freddyw Posted September 11, 2009 Share Posted September 11, 2009 So im guessing i need to place this within a body tag of my CSS. i have an image that is very narrow, that i want repeating from left to right (not top to bottom) along my page. However i want this to run across the top, bottom left and right of my page about an 100px thick. to create a border. leaving the rest of the page white. any help? Quote Link to comment Share on other sites More sharing options...
rachelk Posted September 12, 2009 Share Posted September 12, 2009 When you say 'run across the top, bottom left and right of my page', are you looking for a horizontal border on the top and bottom of the page only, and not on the right or left? Quote Link to comment Share on other sites More sharing options...
freddyw Posted September 12, 2009 Author Share Posted September 12, 2009 I mean a whole square around the page Quote Link to comment Share on other sites More sharing options...
rachelk Posted September 12, 2009 Share Posted September 12, 2009 You could define one as the body background in your css with repeat-x, say the right hand side.. then the top and bottom can be a div with it's width set to auto, height at 100px, positioned at the very top and very bottom of your content and your background as it's background.. and another div with it's width at 100px, height at 100%, and positioned absolute to the left. 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.