Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 06:27 am EDT

Geeklog Forums

margin when fckeditor true


duvide

Anonymous
Why is there a 1-2 pix margin when advanced_editor is set to "true"? It appears on my test site and also on the geeklog 1.4 rc1 demo site.
It also shows with different browers I checked.

Frank
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
margin as in where ?
Geeklog components by PortalParts -- www.portalparts.com
 Quote

duvide

Anonymous
on both sides, over the header and below the footer.
in the professional theme there is the outer table set to 99%. When I have fckeditor set to true then this margin looks like 97%. And there is some extra space on top and bottom like as if the height of the table would be set to 98%.
do you know what I mean?

f
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
I had not noticed this before and will take a look but now see it quite clearly and it's annoying. Thanks for reporting it.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

duvide

Anonymous
that's what I thought, too Smile
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
The extra padding is a result of loading the FCKEditor CSS. You can edit the .body declaration and remove the padding property.

the css file is fckeditor/editor/css/fck_editorarea.css

Text Formatted Code

body
{
        font-family: Arial, Verdana, Sans-Serif;
        font-size: 12px;
        padding: 5px 5px 5px 5px;
        margin: 0px;
        border-style: none;
        background-color: #ffffff;
}

 
But in doing so there is no padding inside the editor area. I will see if there is a better resolution.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

All times are EDT. The time is now 06:27 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content