ZeroShade Posted November 4, 2006 Share Posted November 4, 2006 How can I put a border around the entire page thats black and is thicker in width on the right side of the page? Link to comment Share on other sites More sharing options...
ZeroShade Posted November 4, 2006 Author Share Posted November 4, 2006 Ok... so all I did was make a gif image to do this. But now if the content takes up more of the page and you have to scroll down, I want that black border to stay on the side... can I do this with positioning somehow? Or would I need javascript? Link to comment Share on other sites More sharing options...
utopia Posted November 4, 2006 Share Posted November 4, 2006 there are multiple ways to do it, here i give the easiest way to do it... css:body {border: 1px solid #000;border-right: 5px solid #000;margin: 0;padding: 0;}c'est tout Link to comment Share on other sites More sharing options...
reportingsjr Posted November 4, 2006 Share Posted November 4, 2006 Or since you already have the image just add position: fixed; to it, then when you scroll it will stay "fixed" on the page. But there is also the issue of different resolutions. Just go with utopias. Its the easiest. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now