| Microsoft Typography | Typography on the Web | Specifying fonts... | FONT FACE and tables | |||
|
FONT FACE works almost the same way in both Microsoft® Internet Explorer and the Netscape browser, except in one important respect. In Internet Explorer a font specified using FONT FACE is used to render all subsequent text until a </FONT> tag is encountered. However in Netscape 3 any subsequent text enclosed in a TABLE reverts to the default font. The way each browser copes with the following code is shown in figure 1. <FONT FACE="Comic Sans MS"> text outside the table <TABLE BORDER=0> <TD>text inside the table</TD> </TABLE> </FONT>
Figure 1.
<FONT COLOR=#FFFFFF SIZE=5> text outside the table <TABLE BORDER=0> <TD>text inside the table</TD> </TABLE> </FONT>
Figure 2.
<BASEFONT FACE="Comic Sans MS" COLOR=#FFFFFF SIZE=5 > text outside the table <TABLE BORDER=0> <TD>text inside the table</TD> </TABLE> </FONT>
Figure 3.
Currently FONT attributes need to be included within every cell of a table, in order to ensure that they are used to render text displayed in Netscape as well as Microsoft Internet Explorer. The fact that FACE attributes are picked up inside tables using Internet Explorer is almost certainly a feature which should not be relied on.
|
|||
| Microsoft Typography | Typography on the Web | Specifying fonts... | FONT FACE and tables | |||