Saturday, November 20, 2010

How to change a font color and type while it is in a table? in HTML?

I mean if there is something inside a table, I would like to change its color to something else and its type to Verdana .. I couldn't do it !!



by the way how can I change the spacing in a cell, it should be only one letter ';A'; and the cell should be wider a little bit .. I have it so tight on that letter!



thanksHow to change a font color and type while it is in a table? in HTML?
I will give you example

%26lt;table cell spacing=10%26gt;

%26lt;tr%26gt;

%26lt;th%26gt;name%26lt;/th%26gt;

%26lt;th%26gt;roll no%26lt;/th%26gt;

%26lt;/tr%26gt;



%26lt;tr%26gt;

%26lt;td%26gt;%26lt;font face=';Verdana'; color=';red';%26gt;abc%26lt;/font%26gt;

%26lt;td%26gt;1

%26lt;/tr%26gt;

%26lt;/table%26gt;How to change a font color and type while it is in a table? in HTML?
%26lt;table%26gt;

%26lt;tr%26gt;

%26lt;td style=';color:red;font-family:Arial;';%26gt;Ari?Red cell%26lt;/td%26gt;

%26lt;td style=';color:blue;';%26gt;Blue cell%26lt;/td%26gt;

%26lt;/tr%26gt;

%26lt;/table%26gt;

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.