Centering an HTML Element on the Web Page

Using Firefox and Firebug, you can inspect a part of a web page that you are having trouble centering horizontally, and, in this demonstration, see how to do that using cascading style sheets. Despite this demonstration using this for an image (IMG HTML tag), this strategy works for any kind of web page content HTML that you’d like to center as you can stuff a DIV with anything you would like displayed.

6 minutes, 25 seconds

Leave a Reply

Your email address will not be published. Required fields are marked *

*