adsense

How to Place Photos Side by Side in WordPress





1. Place the cursor at the location in the post editor where you want the two images to appear.
2. Click the 'Add an Image' button above the post editor and upload the first image from your computer or select an image that you have already uploaded to the gallery. Click the 'Insert into Post' button to add the image to the post.

3. Add the second image to the post in the same manner.
4. Click the 'HTML' tab above the post editing field to view the source code for the post, and place the cursor at the first blank line above the code for the first image attachment. The attachment code begins with '
5. Type the code '
' without quotation marks. You may find it helpful to copy the code from this article to avoid a typing error. The number after 'margin-right' indicates the distance between the two image in pixels. Modify the number to change the spacing of the two images.
6. Move the cursor to the first blank line after the code for the first image attachment. The code ends with the name of the image and the tag '
.'
7. Type '
' without quotation marks in the blank line.
8. Move the cursor to the first blank line before the code for the second image. If there is no blank line, press 'Enter' to create one.
9. Type '
' in the blank line.
10. Type '
' in the first blank line after the code for the second image.
11. Save or update the post.

Comments

0 Responses to "How to Place Photos Side by Side in WordPress"

Post a Comment

Popular Posts

About