Les Mizzell wrote:
> I'm having some issues getting the fckeditor "edit" window display to 
> match what's output on a display page.
>
> One issue I think I'm having is that the display page CSS is interfering 
> with the material that's output from the editor. I'm trying to use a 
> "reset" CSS file for the div containing the output material to remove 
> all styles so only the editor styles apply, but results have been mixed 
> so far.
>
> Does anybody have a pointer to a good article or something that helps me 
> get the edit window display to EXACTLY match what's output when viewed?
>
> Much appreciated.
>   
Hi Les,

I'm afraid the short answer is no, the combinations of inline styles and 
elements like <em> <b> <u> it produces can vary depending on the browser 
you enter the content in. I find the best way to deal with it is to try 
and teach the client to use it to add semantic meaning (not in those 
words) so things like headings and paragraphs etc... and I handle the 
element styling in the main CSS file. Works fairly well and it's easier 
to keep things at least slightly consistent. I also nag the programmers 
here about it all the time so they're looking into xStandard which 
produces MUCH nicer code and CSS. Sorry I couldn't be more helpful. If I 
ever work out how to do it with a reset I'll let you know.

I guess you could try styling all your elements relative to their 
container so everything else (i.e. FCKin editor's output) has the 
browsers default styling, it's not ideal though.

Good Luck...
Rob O
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to