You need to Register for free and Login to post a message in the forum.

Forum

FckEditor CSS - tables
Last Post 2008-11-12 11:05 AM by Lee Sykes. 8 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
emccUser is Offline
Nuke Newbie
Nuke Newbie
Posts:6

--
2008-11-09 12:05 PM
    Hi,
    I've watched your videos on getting the FCKEditor editarea to match the skins styles by using the Dynamic setting. But it doesnt seem to apply to tables - is that right? The font-size in a table while editing is too big.
    Thanks
    Joseph CraigUser is Offline
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9001
    Avatar

    --
    2008-11-09 06:40 PM
    There may be some styles defined in default.css or portal.css that interfere or override. You can try removing them. The Web Developer's Toolbar may be of help in locating these styles.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    emccUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:6

    --
    2008-11-09 09:48 PM

    THanks for the reply, Joe,

    The portal.css and default.css files are empty in my site.

    When I inspect the table cell using Firebug, the styles are the same both when I inspect the table outside the editor, and when editing in FckEditor. However the computed font sizes from Firebug are given as 10px when outside the editor and 16px when editing. The only css effecting the font-size is from the body {font-size: 62.5%}.

    So it seems that FckEditor is ignoring the font-size from the body tag when displaying the table.

    Ed

    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2008-11-10 04:47 PM
    If you recall, you are able to setup a body class for the FCK Editor, so you would need to specify the table details in the body tag for the FCK editor.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2008-11-10 04:48 PM
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    emccUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:6

    --
    2008-11-11 11:23 AM
    Yes, that worked in IE but not in Firefox for some reason -
    using #fckbody td {font-size: 62.5%;} in skin.css.
    Maybe the way to go is to use custom editor area css file instead of the dynamic option, and use fixed pixel size fonts for admin/editing mode.

    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2008-11-11 08:18 PM
    yes that may possibly work, I will be interested to hear what you implement as a solution. Keep us posted, thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    emccUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:6

    --
    2008-11-12 05:31 AM
    Oh,  I tried again today with Firefox and the fckbody tag worked this time - must have been a caching problem yesterday.
    So the question is why I need the fckbody tag anyway. In my skin.css the body font-size is set to 62.5% by default, and the table td inherits this OK, except in the fckeditor. Maybe I'll wait and see what happens in DNN5.
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2008-11-12 11:05 AM
    In the tutorial we set it up to use it's own body tag to demonstrate potential problems with skins having dark backgrounds. - So you maybe able to remove references in the FCK settings for the FCK body and have it working ok.

    I don't think there will be any changes for the FCK configuration in DNN 5.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    Admin menu problem by alireza arabiyan
    hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
    Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
    I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config procedure
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config
    dnn 4.4 upgrade issue by imran shaikh
    hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
    RE: How to build Skins for DNN 6.x by Joseph Craig
    I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
    RE: Module permission does not work! by Joseph Craig
    What permissions have you give to that role?
    RE: DNN nav issue by Joseph Craig
    Are you using a custom skin? How often does this happen?
    RE: Friendly URLs Broken by Joseph Craig
    I don't entirely understand this, but I'm glad you got things working.
    RE: How to build Skins for DNN 6.x by Christopher Adamakis
    Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
    RE: Dnn local setup problem by imran shaikh
    this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
    RE: Module permission does not work! by Abraham Tameru
    I created a special role for the user to administer the site. The user is not a member of the Admini
    Dnn local setup problem by imran shaikh
    Hi All i have just installed the new site files on my local computer set the connection strin
    RE: Firefox has detected that the server is redirecting the request for this address in a way that will never complete. by imran shaikh
    Hi i have the same issue Firefox has detected that the server is redirecting the request for thi
    DNN nav issue by imran shaikh
    Hi All This is imran i am using DNN 6.0 in which issue is that while i am refreshing the site nav
    RE: Problem After Attaching/Detaching Database.mdf by Prakasam Srinivasan
    thanks joe! But I have connect with database.mdf file in App_Data. I detach the database from
    RE: Ventrian News Article by Collin Stefani
    Posted By Joseph Craig on 2012-01-18 10:51 AM I'm not sure that you can with the built-in UI.
    RE: Friendly URLs Broken by Vistalogix Corporation
    Well, we figured out that the problem is related to .Net framework 3.5. Friendly URLs works fine und
    RE: Problem After Attaching/Detaching Database.mdf by Joseph Craig
    That behavior of running the installation wizard indicates a problem connecting to the database.
    RE: Friendly URLs Broken by Vistalogix Corporation
    Nope, just a straight-up DNN install and configured in Host -> Friendly URLs as described in my orig
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds