Can a whole table be wrapped in A?

Is it possible to wrap an entire table with an A tag (with display:block;)? I tried it, but it doesn't make anything inside it a link.

The problem I am running into is that I want the background of the table to be clickable, not just the text or image inside it.

jdancisin, 7 years ago

Is this table in an HTML email?

On a regular webpage, you really shouldn't do this. It will work in some situations but not in other. There is a way to do it with jquery, but that won't work in an HTML email.

Check out item #6 on this page...

louiswalch louiswalch, 7 years ago

This is for an email.... I would not use a table in a webpage.

jdancisin, 7 years ago

Why not? Tables are entirely appropriate for tabular data.


fyredefyre fyredefyre, 7 years ago

This one is tricky and long story short this won't really work. What you should be designing your emails for is a focal point to click on so readers know where to click and if that's the case then you won't need to link the whole table itself.

It's also confusing and potentially frustrating if you clicked something by mistake and didn't know where you were going as most people are accustomed to clicking on links or buttons. - Everything Email.
Email: Skype: fyredefyre

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free