adsense

How to Divide WordPress Posts Into Columns





1. Login to your WordPress dashboard. Click 'Add New Post.' By default, the 'HTML' tab above the main text field should be selected. Inserting HTML code into the 'Visual' tab will only display your code as-is in the published post.
2. Edit the following HTML code to suit your needs. This code would result in two columns.
Text

Text
You will need to replace 'Text' with your own content.If you need more than two columns, adjust the percentages in the div style tag. For example, if you wanted four columns, the code would look like this:
Text

Text

Text


Text
Note that the only column that needs to have the 'float:right' value as opposed to 'float:left' is the last column.

3. Copy and paste the HTML code directly into the text field. The rest of the post can be entered in around the code. When the post is complete, click 'Preview' to make sure that your columns have been set up correctly. Click 'Publish' to complete the post.

Comments

0 Responses to "How to Divide WordPress Posts Into Columns"

Post a Comment

Popular Posts

About