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
https://forums.phpfreaks.com/topic/173949-border-for-whole-site/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.