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!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  Dennis : (27 June 2016 - 08:16 AM)

Good morning @2play

@  2play : (27 June 2016 - 05:30 AM)

I am good @dennis , have a great day everyone!

@  Marco : (25 June 2016 - 08:34 AM)

IFC Market

@  Dennis : (25 June 2016 - 05:41 AM)

Morning everyone

@  agrawalmadhu... : (24 June 2016 - 01:53 PM)

investment

@  agrawalmadhu... : (24 June 2016 - 01:53 PM)

stock

@  Dennis : (23 June 2016 - 08:05 AM)

Morning 2play. Hows your day?

@  2play : (23 June 2016 - 06:31 AM)

Hello

@  Dennis : (22 June 2016 - 06:55 AM)

Good morning and have a great day.. Whats your plan for today ?

@  2play : (22 June 2016 - 05:52 AM)

Morning to All..

@  恒亮 : (22 June 2016 - 05:36 AM)

satoshi

@  jbrian88 : (21 June 2016 - 09:55 PM)

Hello Frnds am so Happy to be Here wit u guyz

@  Rajesh : (21 June 2016 - 02:01 PM)

Morning to all

@  Dennis : (21 June 2016 - 09:51 AM)

How is your day?

@  Dennis : (21 June 2016 - 08:23 AM)

Morning guys and gals

@  Fx Mental : (21 June 2016 - 08:11 AM)

hello

@  2play : (21 June 2016 - 06:56 AM)

hi

@  OctaFX_Hanna : (17 June 2016 - 01:35 PM)

Hi there!

@  Dennis : (17 June 2016 - 08:32 AM)

@Forhad Reza Hello and have a great day

@  Forhad Reza : (17 June 2016 - 08:22 AM)

hello

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!!!