Align 3 divs horizontally centered and linkable?

mika7410

New Member
I've spent a few hours with this, and I think it's much simpler to do this.. I'm trying to center 3 divs horizontally whilst keeping them fully linkable, and I finally gave up on that and tried tables ( :-o )The first one shows my failed attempt at linking a div.\[code\] <center><table> <tr> <td> <a href="http://google.com" style="display:block;height:100%;width:100%"> <div> a </div> </a> </td> <td>b</td> <td>c</td> </tr> </table>\[/code\]With CSS\[code\]tbody tr td{width: 300px;height: 200px;border: 2px solid #000;background-color: #000;opacity: 0.7;color: #fff;font-size: 30px;font-family: 'calibri'; //temporarypadding: 30px;}body center table{border-spacing: 20px;margin-top: -90px;}tr td a{height:150%;width:150%;}\[/code\]If anyone knows how to do this with divs or tables, your responses are greatly appreciated!Thank you!
 
Back
Top