HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Table Design
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
gwade



Joined: 17 Jun 2008
Posts: 3

PostPosted: Tue Jun 17, 2008 7:34 am     Table Design Reply with quote

Hi

I am new to CSS so bear with me.

If I wanted to create a table design that looked like this in Wordpress: http://icant.co.uk/csstablegallery/index.php?css=75#r75
The css code is here: http://www.leandropessoa.com.br/table/css/table.css

Would I just Link to the CSS code on the page I want the table. Ie within the body tags of the html page or do I still need to design the table and just ref the css. (How would I do this if its the case?)

Don't have a clue on how to go about this.

Thanks in advance.
Grant
sticks464



Joined: 31 Dec 2006
Posts: 1166

PostPosted: Tue Jun 17, 2008 8:12 am     Reply with quote

Put this link in the head section of the page you want the css to affect
Code:
<link rel="stylesheet" media="all" type="text/css" href="table/css/table.css">


If I understand your link correctly, there is a folder called 'table'. Within this folder there is a sub-folder called 'css'. The table.css file is contained in this folder. If this is correct then the above code will work.
gwade



Joined: 17 Jun 2008
Posts: 3

PostPosted: Wed Jun 18, 2008 12:55 am     Reply with quote

thanks sticks464

Will I then need to design the table referencing that ccs style or will the table already be designed?

Sorry for the simple question
sticks464



Joined: 31 Dec 2006
Posts: 1166

PostPosted: Wed Jun 18, 2008 3:48 am     Reply with quote

Here is the basic design pattern that is being used. Repeat the table rows to expand the conrent making sure every other one is the 'odd' class.

Code:
<table >
<caption>Table designs</caption>
<thead>
<tr>
<th scope="col">Design Name</th>
<th scope="col">Author</th>
<th scope="col">Country</th>
<th scope="col">Comment</th>
<th scope="col">Download</th>
</tr>
</thead>   
<tfoot> 
<tr>
<th scope="row">Total</th>
<td colspan="4">98 designs</td>
</tr>
</tfoot>
<tbody>
<tr >
<th scope="row" id="r97"><a href="index.php?css=97#r97">TagBox</a></th>
<td><a href="http://www.tagbox.de">TagBox</a></td>
<td>Deutschland</td>
<td>Table design based on the fresh TagBox style.</td>
<td><a href="http://www.tagbox.de/style/tagbox.css" title="Download the TagBox CSS file">Download</a></td>
</tr>
<tr class="odd">
<th scope="row" id="r96"><a href="index.php?css=96#r96">Maniac Merchants</a></th>
<td><a href="http://www.marvmerchants.com">Marten Willberg</a></td>
<td>Germany</td>
<td>A Georgia headline with a green-blue body.</td>
<td><a href="http://www.marvmerchants.com/merchants.css" title="Download the Maniac Merchants CSS file">Download</a></td>
</tr>
</tbody>      
</table>
gwade



Joined: 17 Jun 2008
Posts: 3

PostPosted: Wed Jun 18, 2008 5:23 am     Reply with quote

Thanks sticks464

You have been very helpful...
Dyami



Joined: 20 Jul 2008
Posts: 30

PostPosted: Sun Jul 20, 2008 10:51 pm     Reply with quote

you should learn site from this site www.w3.org/Style/CSS/learning . it's site familiar with everyone. you must try it.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial