Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Sign In
  • Create Account
Welcome to Top Gold Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

Global




Photo

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


  • Please log in to reply
No replies to this topic

#1
Sandeep V Sarathy

Sandeep V Sarathy

    Newbie

  • Members
  • 2 posts
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..

Cheers!!
Sandeep
www.smartwayofsuccess.com

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

GRAB Your Own Copy of "Create Your First Website by 3:45 This Afternoon" Absolutely FREE!!!