Link to home
Create AccountLog in
Avatar of tbboyett
tbboyettFlag for United States of America

asked on

convert table to css and divs

I have a simple table that i would like to convert to divs and css.  In addition to that I would like to make each row a single link, with the table grid displayed (borders).  How can I do this?

Here is a simple example of the type of table i will be using:
<table width="100%" border ="1">
<tr>
	<td width="30%">
		<a href="#">Title</a>
	</td>
	<td width="25%">
		<a href="#">Category</a>
	</td>
	<td width="15%">
		<a href="#">Company</a>
	</td>
	<td width="15%">
		<a href="#">Urgency</a>
	</td>
	<td width="15%">
		<a href="#">Date Added</a>
	</td>
 
</tr>
<tr>
	<td width="30%">
		Title 1
	</td>
	<td width="25%">
		Category 1
	</td>
	<td width="15%">
		Yes
	</td>
	<td width="15%">
		Highest
	</td>
	<td width="15%">
		12/23/2007
	</td>
</tr>
</table>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Badotz
Badotz
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
No worries - glad to help.