Hi Guys,
I'm implementing FCKEditor in to a project right now, and it's the first time I've done it. However, I seem to be having real problems getting the editor box to align in the centre of the screen - no matter what I do, it always insists on aligning to the right hand edge of the screen, and I don't understand why!
Here's the PHP based code I'm using. any help would be very much appreciated!:
case 'iLetter' :
include('resources/fckeditor.php');
?>
<p align="left">
<form action="sampleposteddata.php" method="post" target="_blank">
<input type="submit" value="Submit">
</form>
</p>
I'm implementing FCKEditor in to a project right now, and it's the first time I've done it. However, I seem to be having real problems getting the editor box to align in the centre of the screen - no matter what I do, it always insists on aligning to the right hand edge of the screen, and I don't understand why!
Here's the PHP based code I'm using. any help would be very much appreciated!:
case 'iLetter' :
include('resources/fckeditor.php');
?>
<p align="left">
<form action="sampleposteddata.php" method="post" target="_blank">
<?php $oFCKeditor = new FCKeditor('FCKeditor1'); $sBasePath = $_SERVER['PHP_SELF']; $sBasePath= substr( $sBasePath, 0, strpos( $sBasePath, "index.php" ) ) ; $sBasePath .= 'modules/resources/'; $oFCKeditor->BasePath = $sBasePath; $oFCKeditor->Create(); ?>
<input type="submit" value="Submit">
</form>
</p>
RE: Editor ALWAYS aligns to the right...
On the support pages I designed for promoting my skins and plugin for the FCKeditor I have the editor centered, maybe you can check the code and see what you're doing wrong:
- http://www.saulmade.nl/FCKeditor/FCKSkins.php
- http://www.saulmade.nl/FCKeditor/FCKPlugins.php