0

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.

3
Contributors
6
Replies
7
Views
11 Years
Discussion Span
Last Post by Sundaramurthy C
0

Anything that can potentially be modified.

We would need to see the table and form to get more specific than that.

0

Here is a short example:

<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>

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.

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.