Jump to content
  • Advertisement
Sign in to follow this  
programering

[web] HTML page spacing

This topic is 4224 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need/want to have an inner frame in the document body where the text are placed within to set vertical and horizontal space from the browser view edges, do you know how to do that? I've tried it with the table element but it never got as I wanted. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
You might be interested by the padding CSS property of the body, as well as the margin CSS property of the frame (represented as a div or similar block).

Share this post


Link to post
Share on other sites
Quote:
Original post by ToohrVyk
You might be interested by the padding CSS property of the body, as well as the margin CSS property of the frame (represented as a div or similar block).


Can you demonstrate an example?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!