RESOLVED DUPLICATE of bug 3662 4339
Safari: onclick not respecting td height
https://bugs.webkit.org/show_bug.cgi?id=4339
Summary Safari: onclick not respecting td height
Will McCullough
Reported 2005-08-08 17:29:37 PDT
When using td height with an onclick in the td, the area of the click is not respecting the height. It will respect only the area wih content. Example below: // example 1 <table cellspacing="2" cellpadding="1" border="0" width="590"> <tr> <td height="300" align="center" valign="top" background="http:// static.highend3d.com/dvdstoreimages/1/epick.jpg" onclick="location.href='link';" style="cursor:pointer;" title="test of a forum"> <div style="color: white;">doesnt work</div> </td> </tr> </table> // example 2 <table cellspacing="2" cellpadding="1" border="0" width="590"> <tr> <td style="height: 300px;" align="center" valign="top" background="http:// static.highend3d.com/dvdstoreimages/1/epick.jpg" onclick="location.href='link';" style="cursor:pointer;" title="test of a forum"> <div style="color: white;">doesnt work</div> </td> </tr> </table> // the hack used to force the td to height 300 <table cellspacing="2" cellpadding="1" border="0" width="590"> <tr> <td height="300" align="center" valign="top" background="http:// static.highend3d.com/dvdstoreimages/1/epick.jpg" onclick="location.href='link';" style="cursor:pointer;" title="test of a forum"> <div style="height: 300px;"><div style="color: white;">This works</div></ div> </td> </tr> </table>
Attachments
Frido Ferdinand
Comment 1 2005-08-09 06:00:48 PDT
this is probably the same as #3662 ?
Dave Hyatt
Comment 2 2005-08-09 12:11:18 PDT
*** This bug has been marked as a duplicate of 3662 ***
Note You need to log in before you can comment on or make changes to this bug.