944,028 Members | Top Members by Rank

Ad:
Aug 14th, 2006
0

CSS For Table

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cutnpaste is offline Offline
2 posts
since Aug 2006
Aug 14th, 2006
0

Re: CSS For Table

Anything that can potentially be modified.

We would need to see the table and form to get more specific than that.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Aug 15th, 2006
0

Re: CSS For Table

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cutnpaste is offline Offline
2 posts
since Aug 2006
Aug 15th, 2006
0

Re: CSS For Table

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.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Aug 15th, 2006
1

Re: CSS For Table

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.
Reputation Points: 13
Solved Threads: 0
Newbie Poster
Sundaramurthy C is offline Offline
3 posts
since Aug 2006
Aug 15th, 2006
0

Re: CSS For Table

Nice resource...thanks.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Aug 15th, 2006
0

Re: CSS For Table

Welcome
Reputation Points: 13
Solved Threads: 0
Newbie Poster
Sundaramurthy C is offline Offline
3 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Its urgent
Next Thread in HTML and CSS Forum Timeline: reset drop down





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC