|
|
pinEdit WP
Started by Jasper at 10-13-2006 9:41 . Topic has 5 replies.
 
 
|
|
Sort Posts:
|
|
|
|
10-13-2006, 9:41
|
Jasper
Joined on 09-22-2006
Posts 0
|
|
|
|
Hello,
I'm trying to define a standard stylesheet to the editor, so that all files created by the editor have the same look. Im using the setStylesheetUrl() method to define a stylesheet. Problem is that i am also using the setToolbar() method.
When im using both setToolbar() and setStylesheetUrl(), the styles as defined in my stylesheet dont appear in the style selection box. When im only using the setStylesheetUrl() method, without the setToolbar() method, i do get to see my own styles.
Is there any way to make both setToolbar and setStylesheetUrl work?
Jasper Visser
|
|
|
|
|
Report
|
|
|
|
10-13-2006, 10:13
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
|
Hi Jasper,
setToolbar should not have any influence on setStyleSheet. We tried and it worked.
Which technology do you use (PHP etc) and which pinEdit version ?
Regards, Hans-Peter
|
|
|
|
|
Report
|
|
|
|
10-13-2006, 10:23
|
Jasper
Joined on 09-22-2006
Posts 0
|
|
|
|
Hans-Peter,
Im using a registered version of version 5.2.0920. Im using php to build the editor. Some more information:
this is the code for the setToolbar $editor->setToolbar('T03SE562021222324SE272829SE31323334SE35SE0607086177SE0910SE12'); and this is the code for the setStyleSheet $editor->setStyleSheetUrl($url.'pinEdit/editor/fmstyle.css')
in the stylesheet i have defined the following things: .kop1{ color:#003366; font-size:18px; } .subkop{ color:#003366; font-size:14px; } .subsub{ color:#003366; font-size:11px; font-style:italic; } .tekst{ color:#333333; font-size:11px; font-style:italic; }
Hope you can help!
Jasper
|
|
|
|
|
Report
|
|
|
|
10-13-2006, 10:37
|
Jasper
Joined on 09-22-2006
Posts 0
|
|
|
|
Hans-peter
I just have another question. How do i set the page margins of the editor? now the text is almost against the left border of the editor, but i would like to keep some distance (e.g 95px) from the left side, and also from the top and the right side
Is there any way to set this, or do you have to use css for this
Thank you,
Jasper Visser
|
|
|
|
|
Report
|
|
|
|
10-13-2006, 11:27
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
|
Jasper,
if you already use a css file I recommend specifying a new style item like
body { margin-left: 40px; ... }
Regards, Hans-Peter
|
|
|
|
|
Report
|
|
|
|
|
Pintexx Forum » Developer Produ... » pinEdit WP » Stylesheet problem
|
|
|
|