Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

Interested in more traffic and leads? Check our advertising offer
Sign in to follow this  
Followers 0
Sandeep V Sarathy

How To Bring The Web Page To The Middle Of The Browser?

1 post in this topic

Hi Guys,

The most basic problem I faced while designing my first website was the fact that I did not know how to bring the web page to the middle of my browser. So after googling a bit I got the solution. Thought I'd share it with you -

I used Cascading Style Sheet(CSS) for styling my web pages. So here is what I did -

In my CSS for the I wrote this pices of code and booom!!! my page automatically came to the middle of the browser -

body {

margin: 0 auto 0 auto;

width: 800px;


Hope this was helpful..




Want to create your own WEBSITE and start your business online??? Don't know How??






Share this post

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

Put your business in front of our community. Check our advertising offer