Home >Web Front-end >HTML Tutorial >Please tell me about the abnormal problem of placing table under a tag (IE)_html/css_WEB-ITnose

Please tell me about the abnormal problem of placing table under a tag (IE)_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:241077browse

Just like the title, please tell me, the code is as follows:

<a href="index.php?m=my" target="main" style="outline: none;" hidefocus="true" >         <table width="140px">             <tr>                <td rowspan=2>                       <img class="img" src="a.jpg" alt="XXXX" width=45 height=45 />                </td>                <td class="text1">                     <font color="#336699">                         XXXXXXXXX                     </font>                </td>			             </tr>             <tr>                 <td class="text1">                    <font color="#336699">                       XXXXXX                    </font>                 </td>	             </tr>     </table></a>


The problem is that this a link wants to use the entire table block as a hyperlink. Everything works fine under chrome and FF, but Under IE, only the left half of the entire block can jump normally, but the right half cannot. May I ask the experts what is the reason? Is there any solution? Thank you very much.


Reply to the discussion (solution)

style="outline: none; display:block;" Try

Thank you very much to the brother upstairs, but it's a pity that No. Clicking is always valid only on the first element under 3499910bf9dac5ae3c52d5ede7383485, a1f02c36ba31691bcfe87b2722de723b, and it can jump. Clicking other positions will not work. But the mouse pointer will change into a hand shape.

Try not using a hyperlink, but using:

b70eb8533e419f6c491dac734fdb685c

Let’s see if it works~~~

Haha, thank you big brother, it just works!
Very happy~ Thank you, this is the end of the post Give points.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn