How can I set a border

I want to set a border around the body of my html document.  How can I do this in a way that the two major browsers will display the page similarly?
 For 50 more points:  Is there an object/element that I can place on the html document so that I can specify attributes to it that are separate from the document?  I want to put text in this document but I don't want to use rows and columns.
thanks,
Jim
whatever080697Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slydonCommented:
Try using a frameset, and box in the body using blank frames around it.
something like this:

<frameset rows="50,*,50">
  <frame src="1.htm" marginwidth="0" marginheight="0" noresize frameborder="NO" scrolling="NO">
  <frameset cols="50,*,50">
    <frame src="2.htm" name="" marginwidth="0" marginheight="0" noresize frameborder="NO">
    <frame src="3.htm" marginwidth="0" marginheight="0" noresize scrolling="AUTO" frameborder="NO">
    <frame src="4.htm" marginwidth="0" marginheight="0" noresize frameborder="NO">
  </frameset>
  <frame src="5.htm" marginwidth="0" marginheight="0" scrolling="NO" noresize frameborder="NO">
</frameset>

If you assign names to the frames, you can then assign attributes to items based on the frame
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
whatever080697Author Commented:
I haven't tested your answer yet, but I can tell that it seems good.  Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.