Robotics C++ Physics II AP Physics B Electronics Java Astronomy Other Courses Summer Session  

Inserting and Centering A Div

Videos

Additional Commentary

   Example

 

Videos

Inserting a Div into a page: http://www.youtube.com/watch?v=nNLLHHYovac

Centering a Div: http://www.youtube.com/watch?v=cQwbAxVcOpI

 

Additional Commentary

If Quick Tag Editor is not showing, go to View and select it

Click on the P and a drop down will appear

Type Div as shown below

 

 

When you press enter, a div tag will appear and replace the paragraph tag. Note that the word Div appears above

 

 

Select Format, New Style, Click on Position, and enter the following numbers (something must be entered)

 

 

Select Apply at the bottom

Select Background, give it a background color, select Apply at the bottom

Select Box, and enter the following, then click Apply at the bottom. Make sure everything is entered as shown, to include the check at the top.