• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

Image location

How do I move an image to the top center of a large <TD> box?
0
DColin
Asked:
DColin
  • 2
1 Solution
 
everlast4308Commented:
Provided I understood the request correctly, add these attributes:
align="center"
valign="top"
0
 
DColinAuthor Commented:
This did not work am I doing it correctly?

<table>
    <tr>
        <td>
            <img align="center" valign="top" alt="" src="Icon.jpg" />
        </td>
        <td>
            <ul>
                <li>a</li>
                <li>b</li>
                <li>c</li>
                <li>c</li>
                <li>d</li>
            </ul>
        </td>
    </tr>
</table>
0
 
everlast4308Commented:
My apologies -- to clarify, you must apply these attributes to the <TD> tag that contains your image:
        <td align="center" valign="top">
            <img alt="" src="Icon.jpg" />
        </td>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now