Aligning a link to the bottom right of a table...in css

Posted by IP on Stack Overflow See other posts from Stack Overflow or by IP
Published on 2010-04-20T14:07:08Z Indexed on 2010/04/20 14:23 UTC
Read the original article Hit count: 407

Filed under:
|
|

I need to align "Click here" to the bottom right of this table...but in CSS it seems impossible

Adding the link as a row or into the footer of the table is no an option

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <style type="text/css">
    #link
    {
        float:right;
    }

    div
    {
        border:solid black;
    }

    table { border: solid red; }
    </style>
</head>
<body>

    <div>
        <table>
            <tr>
                <td>Fish fish fish fish fish fish fish fish fish fish fish fish fish fish fish fish fish fish fish fish fish</td>
            </tr>
        </table>
        <a href="." id="link">Click me</a>
    </div>
</body>
</html>

Any ideas?

© Stack Overflow or respective owner

Related posts about html

Related posts about css