Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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