0

FCKeditor percentage height does not work on Firefox

asked 2009-01-29 00:01:36 +0800

jyluo gravatar image jyluo
147 1 1

<?page id="testZul" title=" New ZUL Title" cacheable="false" 
	language="xul/html" zscriptLanguage="Java" contentType="text/html;charset=UTF-8"?>

<zk xmlns="http://www.zkoss.org/2005/zul"
	xmlns:h="http://www.w3.org/1999/xhtml" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
<borderlayout>
	<center border="none">
		<fckeditor id="fckeditor" customConfigurationsPath="/editors/fckconfig.js" width="100%" height="100%" />
	</center>
</borderlayout>
</zk>

The code above is suppose to create a fckeditor that is 100% width and height. It works in IE. But Firefox shows default height and Safari shows a weird height (neigther default nor 100%). Does anybody has a quick (even if dirty) fix? Thanks!

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-02-02 04:34:11 +0800

windperson gravatar image windperson
415 1

Hi jyluo,
use flex="true" in the <center> tag, it should fix the layout problem.

link publish delete flag offensive edit

answered 2010-03-24 19:13:02 +0800

judacoor gravatar image judacoor
280 1 3 8

Great!

Worked like a charm!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-01-29 00:01:36 +0800

Seen: 423 times

Last updated: Mar 24 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More