editor icons wrapping into too many lines. should be 3 or 4 at max in full complexity mode.

  •  07-21-2009, 5:57 PM

    editor icons wrapping into too many lines. should be 3 or 4 at max in full complexity mode.

    1. <?php   
    2.       
    3.     if (isset($_REQUEST["file"]) && $_REQUEST["file"] != "")  
    4.     {  
    5.        
    6.         //print "<pre>";  
    7.         //print_r($_REQUEST);  
    8.         //print "</pre>";  
    9.   
    10.         print "<h1>Editing ".$_REQUEST['title']."</h1>";  
    11.         print "Edit content and click the <STRONG>SAVE</STRONG> disk icon to commit changes to disk. After saving, click <STRONG>BACK TO SITE</STRONG> link to return to site.<br />";  
    12.   
    13.         $editor=new CuteEditor();  
    14.         $editor->ID="Editor1";  
    15.         $editor->EditorWysiwygModeCss="default.css";  
    16.         $editor->FilesPath="CuteEditor_Files";  
    17.         $editor->EditCompleteDocument=false;  
    18.         $editor->BreakElement="Br";  
    19.         $editor->XHTMLOutput=true;  
    20.         $editor->Height=620;  
    21.         $editor->Width="100%";  
    22.         if (@$_GET["postback"]!="true")  
    23.         {  
    24.             print "<br>Loaded ".$_REQUEST['file']."<br><br>";  
    25.             $editor->LoadHTML($_REQUEST["file"]);  
    26.             $editor->Draw();  
    27.         }   
    28.         else  
    29.         {  
    30.             print "<br>Saved ".$_REQUEST['file']."<br><br>";  
    31.             $editor->SaveFile($_REQUEST["file"]);  
    32.             $editor->Draw();  
    33.         }  
    34.         $editor=null;  
    35.   
    36.         print "<br><a href='../index.php'>CANCEL</a>";  
    37.   
    38.     } else {  
    39.   
    40.         print "<h1>Select file to edit from menu.</h1>";  
    41.     }  
    42.   
    43. ?> 

    for some reason my editor icons wrap after about 40% going into 7 or 8 lines of icons.
     
    any idea why from looking at my snippet of code?
     
    al
     
     
View Complete Thread