Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Font Problems with DHTML Editor

0 views
Skip to first unread message

Corey Burnett

unread,
Jan 18, 1999, 3:00:00 AM1/18/99
to
I am building an application that uses the DHTML Editor to create content
and then save it to a MS Access database. Everything seems to work fine
except that the DHTML Editor control seems to like to add in a lot of
extraneous <FONT> tags all the time! IE4 seems to ignore these but Netscape
doesn't. The bottom line is that the content looks very different in
Netscape.

Here is an example: Let's say that I have some text that is set to Arial
font and I want to change the size of the text. So I highlight the text in
the DHTML Editor and change the size to 4.

HTML before editing:
<font face="arial">Here is some text.</font>

HTML after editing:
<font face="arial"><font size="4">Here is some text.</font></font>

This looks fine in IE. However when Netscape sees the <font size="4"> tag
it seems to reset the face to the default (Times New Roman). The end result
is that the text is displayed in Netscape as Times New Roman instead of
Arial.

Is there any way to stop the DHTML Editor from doing this? It reminds me a
lot of the problems I have when I use Front Page as an editor.

Thanks,

Corey Burnett
cbur...@iconixgroup.com

0 new messages