xHTML Help

by 2 replies
3
Hello Every one i am new to programming i want to know that can i add attrib to the <td> tag like style , size, color etc i have try but fails to do that
#programming #xhtml
  • Hi,

    The best way is to do it all in CSS.
    The cleanest solution is to have a class declared in your style sheet then apply it to your column (<td class="myClass"> or alternatively you can still write a style directly into it (<td style="border: none;"> for example).

    I believe what you really need is a good HTML / CSS introduction, one doesn't go without the other nowadays.

    Seb.
  • Yeah, you can add the style attribute to basically any tag.

Next Topics on Trending Feed

  • 3

    Hello Every one i am new to programming i want to know that can i add attrib to the <td> tag like style , size, color etc i have try but fails to do that