Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a Page Border

Status
Not open for further replies.

jscat40

Technical User
Oct 17, 2005
4
US

I'm trying to create a border around my entire page (0.5 inches around).

When I use the rectangle tool (the one without the "x" inside), I make my rectangle, and all of my content "vanishes." There are those little red boxes with little "x's" inside of them surrounding the box, but I don't know if that's a part of the problem or the solution.

How do I make a "border" without making an entire "rectangle?"

(I'm very much the beginner, please be nice.)
 
Not sure what you mean by a "rectangle". But the way to put a half inch border around your page would be to include the following CSS:
Code:
<style>
BODY {
 border: 0.5in solid green;
}

</style>

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top