Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Table Header Align with CSS

    Hi,
    I have a table for links to messages and i want to align the table header where it stretches across the width of the table. In html this is colspan or rowspan but I'm not sure if it's possible to do this with CSS. If it isn't possible, any suggestions on a different method of getting this done are welcomed. Thanks in advance.

    Code:
    <table>
    	
    	<tr>
    	<th>Summer Camp 2006 Champions</th>
    	</tr>
    
    	<tr>
    	<td><a href="#">Champions Never Leave a Man Behind</a></td>
    	<td><a href="#">Champions Don't Try to Settle the Score</a></td>
    	<td><a href="#">The Heart of A Champion</a></td>
    	</tr>
    	
    	<tr>
    	<td><a href="#">Beware of the Traveler</a></td>
    	<td><a href="#">The Diary of Champions</a></td>
    	<td><a href="#">Champions Refuse to Lose</a></td>
    	<td><a href="#">The Battle of Champions</a></td>
    	</tr>
    
    	<tr>
    	<th>Workshops</th>
    	</tr>
    
    	<tr>
    	<td><a href="#">Service With A Smile :)</a></td>
    	<td><a href="#">The Truth About Relationships and Dating</a></td>
    	</tr>
    	</table>
    Last edited by ikaika; 07-06-2011 at 05:14 PM.

  • #2
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Nevermind, I just found another post saying that the colspan, rowspan features are still ok to use. Thanks.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •