html clickable layout area. best practice

Posted by Andrew Florko on Stack Overflow See other posts from Stack Overflow or by Andrew Florko
Published on 2010-05-28T20:53:35Z Indexed on 2010/05/28 21:02 UTC
Read the original article Hit count: 264

I am bad in html layout but I have to produce it :) I want to make big button on a page that is implemented as div with children tags (maybe - a bad idea). I can handle click event on boundary-div with javascript but it requires javascript enabled. I can wrap boundary-div with "anchor" tag but is doesn't work in IE

Please, suggest me the best way to implement this.

<a href="...">        
        <table>
            <td>                                
                ...
            </td>
            <td>
                ...
                   <table> ... </table>
            </td>       
        </table>

    </a>

© Stack Overflow or respective owner

Related posts about html

Related posts about best-practices