Jump to content

border for whole site


freddyw

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.