Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to create a border around website?

How to create a border around website?

Locked

Views: 951

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Apr 2008, 7:23 PM
#1
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

How to create a border around website?

I'm looking to create a green border around my site https://www.bendisskin.com. How do I go about adding the border? I've asked this earlier and got a little help, however the border went around the entire site rather that just the header, body, side boxes, and footer. Hope that makes sense.

4 Apr 2008, 7:24 PM
#2
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

Re: How to create a border around website?

Tried to upload image

4 Apr 2008, 7:54 PM
#3
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: How to create a border around website?

You could add something like this to the #mainWrapper area of your stylesheet:

/wrappers - page or section containers/
#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 750px;
vertical-align: top;
border-bottom: 1px solid #9a9a9a;
border-top: 1px solid #9a9a9a;
border-left: 1px solid #9a9a9a;
border-right: 1px solid #9a9a9a;
}

4 Apr 2008, 8:03 PM
#4
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

Re: How to create a border around website?

Thanks! It worked!

4 Apr 2008, 8:07 PM
#5
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: How to create a border around website?

:clap: Glad that worked for you!