WordPress Words: DIV

A “DIV” is an HTML element that divides sections of your WordPress site.

Example: A user can customize their site by adding DIV tags around their content sections in the text editor. Then they can add custom CSS to their DIV’s by going to the Theme Editor in
Appearance–>Editor–>style.css and adding a new line in the file.

.main-grid-content {display:inline-block;background-color:#FFF;}

About the Word

The DIV tag in HTML is used widely on most websites today. By default, a DIV is a block level element, which means it will take up all of the horizontal space  in its current container. In WordPress DIV’s are used to create new sections of content within your site, that may be linked to current classes or new ones.

New sections can help you separate portions of your site to add embedded maps, special offers, promotions, contact information, images and other content.

For More Information

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s