Regarding the problem of making an entire a hyperlink_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:15:01
Original
1898 people have browsed it

I want the entire to become a hyperlink
This is what I wrote

This can be achieved
However, it will not turn into a small hand when the mouse is clicked, although the link is valid. Is there any solution?

Also, if I want to control the small hand icon and hyperlink in the middle of this , is there any way to position it?


Reply to discussion (solution)

 <td width=13%> <a href="abc.acb.com">abc</a></td> </a>
Copy after login

- -, also see this writing

Standard web page writing:

Block-level elements can contain block-level elements and row-level elements

But row-level elements can only contain row-level elements

Your is non-standard. Place the A tag inside TD

You can use padding or margin to position the size and position of the A tag.


The style of changing the palm is: cursor:pointer

The original poster, I often do that too, but the last time I posted it here, there was a lot of criticism...
If not Don’t do this in special circumstances. It seems that cell links are not supported under Firefox!
You can
abc< /a>

Then set the link in td to block display:block; Then make it as tall as you want, as wide as you want, and in whatever style you want. What style...

Last time I was just replying to the post upstairs, so don’t say it was a scolding.
But you really need to pay attention to the use of html tags.

What if there are multiple TDs? Like this
How to implement block hyperlinks?

source:php.cn
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