Forums
This topic is locked
Modifing PD HTML editor
Posted 06 Aug 2002 22:18:49
1
has voted
06 Aug 2002 22:18:49 David Hayes posted:
Hello all,How can I modify the PD HTML editor so that it uses CSS font styles instead of regular HTML styles? I'm using a linked "styles.css" file that has several classes eg. "title, body, etc." I would imagine it would pretty simple using the DHTML model but I'm not sure how to do it.
Any suggestions would be greatly appreciated,
Thanks,
fliquid
Replies
Replied 07 Aug 2002 20:15:21
07 Aug 2002 20:15:21 Philip Walker replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hello all,
How can I modify the PD HTML editor so that it uses CSS font styles instead of regular HTML styles? I'm using a linked "styles.css" file ....<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I have used an external file called "style.css" with no problems what so ever, but it is linked to the page and not written into the code veiw on the editor. If you want to link it via the editor you can do that in the same way you would do with images by using the full url "www....." .
Also if you are pasting content in from another web page, it will take that formatting with it. Go into HTML veiw and remove any font formatting tags. Other than that it should work. Mine does.
P3|IIS 5.5 |WXP |45omhz|768Mb|UD4
Hello all,
How can I modify the PD HTML editor so that it uses CSS font styles instead of regular HTML styles? I'm using a linked "styles.css" file ....<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I have used an external file called "style.css" with no problems what so ever, but it is linked to the page and not written into the code veiw on the editor. If you want to link it via the editor you can do that in the same way you would do with images by using the full url "www....." .
Also if you are pasting content in from another web page, it will take that formatting with it. Go into HTML veiw and remove any font formatting tags. Other than that it should work. Mine does.
P3|IIS 5.5 |WXP |45omhz|768Mb|UD4
Replied 07 Aug 2002 23:28:32
07 Aug 2002 23:28:32 David Hayes replied:
My problem isn't inserting a linked stylesheet <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> The linked "styles.css" works fine. My question is how can I modify the PD HTML editor so that when the user uses the font dropdown list it inserts somthing like:
<span class="article_body"></span> around the selected text instead of:
<font face=verdana color=#006699></font>
I hope this clears it up!
Thanka,
fliquid
Edited by - fliquid on 07 Aug 2002 23:29:08
Edited by - fliquid on 07 Aug 2002 23:29:48
<span class="article_body"></span> around the selected text instead of:
<font face=verdana color=#006699></font>
I hope this clears it up!
Thanka,
fliquid
Edited by - fliquid on 07 Aug 2002 23:29:08
Edited by - fliquid on 07 Aug 2002 23:29:48