PHP scripts and programs for Beginner to Master

php programs, php ready to use scripts & functions, css tutorials, html, javascripts, ajax examples for Beginner to Master

Hi guys,

Generally we require that all the contents of our website should be centered to display the website properly.
For this we can make use of this code so that your website will be in the center of the browser, doesnt matter what is the resolution.

We will create a div with id "outer-div" in the body tag of our webpage.

Now we will apply a CSS styling to the "outer-div" div.

The full code to test is here

I'm reading: Center all contents of website - cetering a websiteTweet this!


Post a Comment