CSS For Table

Reply

Join Date: Aug 2006
Posts: 2
Reputation: cutnpaste is an unknown quantity at this point 
Solved Threads: 0
cutnpaste cutnpaste is offline Offline
Newbie Poster

CSS For Table

 
0
  #1
Aug 14th, 2006
I need to provide an HTML code snippet (form elements displayed within a table) that my clients will be inserting into their web pages. One of the requirements is that I provide CSS atrributes to the table elements so the client can customize color, font, etc to match their site. To do this, what HTML tags do I need to assign a class value?

Thanks in advance.
cutnpaste
I'm too busy fixing other people's problems to fix my own
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: CSS For Table

 
0
  #2
Aug 14th, 2006
Anything that can potentially be modified.

We would need to see the table and form to get more specific than that.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2
Reputation: cutnpaste is an unknown quantity at this point 
Solved Threads: 0
cutnpaste cutnpaste is offline Offline
Newbie Poster

Re: CSS For Table

 
0
  #3
Aug 15th, 2006
Here is a short example:

[html]

<FORM>
<TABLE>
<TBODY>
<TR>
<TH colspan="2">Contact Form</TH>
</TR>
<TR>
<TD>First Name <BR> <INPUT name="txtFirstName"></TD>
<TD>Last Name <BR> <INPUT name="txtLastName"></TD>
</TR>
<TR>
<TD>Company <BR> <INPUT name="txtCompany"></TD>
<TD><INPUT name="submit" value="Submit" type="button"></TD>
</TR>
</TBODY>
</TABLE>


</FORM>


[/html]
We want to allow the following formating with CSS:

Field Label font, font size, and color (ie First Name/Last Name)
Background color for TH and TD
Table borders/border color, cellspacing etc.
cutnpaste
I'm too busy fixing other people's problems to fix my own
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: CSS For Table

 
0
  #4
Aug 15th, 2006
Well...without seeing the site, provide options for all table tags

If you want to get more specific, you can add class names for each row and/or column as well.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 3
Reputation: Sundaramurthy C is an unknown quantity at this point 
Solved Threads: 0
Sundaramurthy C Sundaramurthy C is offline Offline
Newbie Poster

Re: CSS For Table

 
1
  #5
Aug 15th, 2006
Sorry to enter in between . Pl refer to http://www.picment.com/articles/css/funwithforms/
Last edited by Sundaramurthy C; Aug 15th, 2006 at 12:51 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: CSS For Table

 
0
  #6
Aug 15th, 2006
Nice resource...thanks.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 3
Reputation: Sundaramurthy C is an unknown quantity at this point 
Solved Threads: 0
Sundaramurthy C Sundaramurthy C is offline Offline
Newbie Poster

Re: CSS For Table

 
0
  #7
Aug 15th, 2006
Welcome
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 1286 | Replies: 6
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC