user667430 user667430 - 1 year ago 87
CSS Question

HTML CSS image in second column of table not displaying correctly

I am trying to create a table which has a list on the first column and an image in the second column. However when I put the image in the second column it moves the list of the first column down. Here is what happens:

image moves list down

As you can see the image moves the list down. How could I get it so it looks like this:

enter image description here

This is the code for the table.

<table border="0">
<li>Le Mans 24 Hour</li>
<li>WTCCBritish GT</li>
<li>Toca support races</li>
<a href=""><img src="" alt="PrivateTuitionimg073" width="300" height="200" class="aligncenter size-medium wp-image-23" /></a>

Answer Source

You must add to your img style: float: right And position it at the bottom of te list in same cell.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download