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
Release: 2016-06-24 12:13:24
Original
1078 people have browsed it

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>
Copy after login


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 , , 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:



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 of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template