Tuesday, 17 September 2013

Can not change font color of all elements within rows and columns in table tags

Can not change font color of all elements within rows and columns in table
tags

I am trying to change font color of different web elements in different
areas. Mostly it works fine while I am using I am using like this:
<font color='BLUE'>
<DIV>
<SPAN style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px;
FLOAT: none; : rgb(34,34,34); FONT: 13px Calibri;
-webkit-text-size-adjust: auto">
</SPAN>
</DIV>
<DIV>
<SPAN style="BORDER-TOP- : ; WHITE-SPACE: normal; TEXT-TRANSFORM:
none; WORD-SPACING: 0px; FLOAT: none; : rgb(0,0,0); FONT: large
arial, sans-serif; -webkit-text-size-adjust: auto">abc
</SPAN>
</DIV>
</font>
or just
<font color='BLUE'>
<P>abc
</P>
</font>
BUT when I am trying to change font color and formation of some text
elements which are under tags, it dorsn't work!
<font color='white'>
<DIV>
<TABLE style="WIDTH: 165pt; BORDER-COLLAPSE: collapse; border=0
cellSpacing=0 cellPadding=0 width=219>
<COLGROUP>
<COL style="WIDTH: 21pt; mso-width-source: userset; mso-width-alt:
1024" width=28>
<COL style="WIDTH: 92pt; mso-width-source: userset; mso-width-alt:
4498" width=123>
<TBODY>
<TR style="HEIGHT: 66pt; mso-height-source: userset" height=88>
<TD style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8;
- : transparent; WIDTH: 165pt; HEIGHT: 66pt; BORDER-TOP:
#ece9d8; BORDER-RIGHT: #ece9d8" class=xl65 height=88 width=219
colSpan=4><FONT size=2 face=Calibri>Students, if you are looking
for opportunities to earn community service hours, please check
out the guidance board located at the south entrance of the high
school hallway.</FONT>
</TD></TR>
<TR style="HEIGHT: 107.25pt; mso-height-source: userset" height=143>
<TD style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8;
- : transparent; WIDTH: 165pt; HEIGHT: 107.25pt; BORDER-TOP:
#ece9d8; BORDER-RIGHT: #ece9d8" class=xl65 height=143 width=219
colSpan=4>
<FONT size=2 face=Calibri>There will be sign up meetings for
winter sports in the gym during break next week. <BR>All students
interested in playing soccer, please sign-up in the gym during
break tomorrow.<BR>Students wanting to play basketball, please
sign-up on Thursday, 9/19.
<SPAN style="mso-spacerun: yes">&nbsp;
</SPAN><BR><BR></FONT></TD></TR>
</TBODY>
</TABLE>
</DIV>
</font>
Please suggest me what should I do if I want to keep generic rule to
change font colors for all sort of formats.

No comments:

Post a Comment