How can I add a white border around my page using CSS?

Discuss the development and implementation of Joomla! 1.0.x templates here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
osn607
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sun Jun 03, 2007 11:37 pm

How can I add a white border around my page using CSS?

Post by osn607 » Tue Jul 17, 2007 4:57 am

I'm creating a web page and have set the width to 770px.  I'd like to add a white border around my page, 5-10px, and then set the background color to break up the white-space of the page.

The background change is easy enough.  I'm not sure how to create the white border evenly around my existing body outline.

Any guidance or resources would be helpful.

Thanks.

lavotha
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Fri May 13, 2011 11:21 am

Re: How can I add a white border around my page using CSS?

Post by lavotha » Mon Jul 18, 2011 10:29 am

hi! how did you solve this?


Locked

Return to “Templates & CSS - 1.0.x”