Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:41:10 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.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Xinha CSS  (Read 1985 times)
marathoner

Offline Offline

Posts: 495


« on: January 26, 2007, 02:53:30 AM »

I have a question for anyone using Xinha. I have a copy of my screen.css renamed as editor.css and that works just fine. However, my template (and most templates that I've seen) uses a wrapper around the primary content. Plus my body style (which is basically a higher level wrapper) is used to set certain global defaults (such as font, color, size, margins, etc). So basically, what Xinha doesn't display the styles for my BODY and WRAPPER. I'm sure that I could rewrite my editor.css to incorporate those styles into everything else but that would be difficult and time consuming to keep in sync.

Does anyone have a way to use Xinha to see what the content will look like as it's actually displayed within the template?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: January 26, 2007, 05:54:04 AM »

Hello,

if you wanna hae displayed the style from your content in the textarea field of the browser you need to add the css from the content area of your style.css to the body tag of the editor.css.

Matthias
Logged
marathoner

Offline Offline

Posts: 495


« Reply #2 on: January 26, 2007, 09:54:11 PM »

Perfect. Thanks.
Logged
kdb

Offline Offline

Posts: 20


« Reply #3 on: August 30, 2010, 11:38:45 AM »

Perfect. Thanks.

Please publish the example
Thanks
Logged
pcwacht
AddOn Development
*
Offline Offline

Posts: 2859



WWW
« Reply #4 on: August 30, 2010, 01:35:08 PM »

copy your used styles to the file /templates/<yourtemplate>/editor.css

Xinha, FCKEditor and the standard HTMLarea will use the file 'editor.css' for the styles in the wysiwyg area.


Have fun,
John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
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!