Creating Tables and adding media into them

This is the code for creating a table

<table border=”1″>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

To add a picture or any media into a column you must select the one you want, and go to the library and add a picture.  The trick is to get all the pictures in the same size, so you have to scale and crop the pictures (note to self:  landscape is better)

To add a video from youtube you have to take the embed code from a slecetd video and insert it into the html, but adjust the height and width to what you want to match the picture sizes.  Basiclly the idea is to replace one of the pictures, sp to get the size right is important, also, whatever you take off the height you must take off the width of the video otherwise the video will be distorted.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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