Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 08:00:21 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155480 Posts in 21708 Topics by 7757 Members
Latest Member: rofroodoOvego
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: How to change space line in FCKeditor?  (Read 2488 times)
midiweb

Offline Offline

Posts: 178


« on: March 04, 2009, 11:38:19 AM »

Hi, where's the space line function(space between two lines ) in FCKeditor?
The space between lines is too big in my editor when I make a carriage return? When I make a backspace, it goes back to the position before.
I've been trying several times but in vain!
Who can help?

Logged
doc
Guest
« Reply #1 on: March 04, 2009, 11:44:21 AM »

Hello,

have you already tried the ENTER key and SHIFT+ENTER key. One creates a <p> the other a <br /> depending on the settings in the FCKEditor itself.

Regards Christian
Logged
marathoner

Offline Offline

Posts: 495


« Reply #2 on: March 04, 2009, 04:02:22 PM »

Also, keep in mind that all line spacing (both <br> and <p>) are controlled via CSS. You can simply alter the CSS in your editor.css file.
Logged
midiweb

Offline Offline

Posts: 178


« Reply #3 on: March 04, 2009, 04:40:04 PM »

Has the .css for FCKeditor  to be called editor.css?
My template "industry" has a "industry.css", is this one for the layout of the homepage (frontend) or is it used also for the backend of the editor?

In this latter case, I would understand what goes wrong becauise I changed a lot of parameters in this css sheet?

Cheers
Logged
marathoner

Offline Offline

Posts: 495


« Reply #4 on: March 04, 2009, 06:37:55 PM »

Yes, FCKEditor will look for a file named "editor.css" and use it if it exists. One reason that a separate CSS file is used by the editor is that your "industry.css" may contain "wrappers" for the whole page that will not apply to just a WYSIWYG section.
Logged
midiweb

Offline Offline

Posts: 178


« Reply #5 on: March 04, 2009, 07:25:16 PM »

I'm looking for a simple basic "editor.css:
-a few fonts: verdana, times, trebuchet, Arial
- space line
-margins,..

and so on...

friendly yours
Logged
marathoner

Offline Offline

Posts: 495


« Reply #6 on: March 05, 2009, 04:22:48 AM »

If you want FCKEditor to look the same as the generated page then use a copy of your industry.css but remove any wrappers (i.e. if you wrap the content of a page in "class=content" then remove that class since FCKEditor will not be using it.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!