Log in

View Full Version : How to create a border around a website like this?



pookeyblow
01-22-2013, 09:28 PM
Hi guys,

New to CSS, and i have a question:

How do I create a fixed border around my website like they have done here?: http://www.sagmeisterwalsh.com

I've tried with:



body, html {
margin: 0px;
padding: 0px;
border: 6x solid #ac9cff;
width:100%; height:100%
}


but it doesn't seem to work. It's not fixed either.

Any suggestions. I believe this is easy to do, right?

bernie1227
01-22-2013, 09:46 PM
http://css-tricks.com/body-border/

pookeyblow
01-22-2013, 09:49 PM
THANKS a lot!!