-
SSI Inputs
Hi Guys,
Ok, sorry, im going to explain in full what im doing incase i am going about this in the wrong way…
I have created a webpage, pulling in some text using SSI in SHTML.
The DIV container for the text is set at a width of 300px, and it pulls in the text perfectly.
Now, i have also created an edit page. In the edit page, i have given a text area, and called the SSI in the same way as the initial value.
The problem i am having is that in the edit page text area, the SSI displays line breaks from the TXT file. For instance, imagine a text file with line 1 full of text, line 2 in blank, line 3 has text also. In the Edit page, this displays as a line of text, a gap like a break under it, then another line of text.
In the NORMAL page, the SSI calls the text file but displays line 1 and 3 up against eachother.
If i add the rule of white-space, then the text does not stay resticted to the DIV area, it just runs across the entire width of the page…OK… so the problem is that if my client is editing the page content, and wants to write two paragraphs with space… he will naturally hit the return button in the edit page, and the text will look and align as he wants it to, but once he submits and the text file updates, the ACTUAL page will not display the paragraphs.
Any ideas on this…? The only thing i can think of is to add a button maybe ADDING text to the textarea as break tag, which of course displays perfectly then in the main page, but im struggling to code a button adding text to a selected point within a textarea.
Any Help or advice would be greatly appreciated.
Richard Williams
p.s. Please remember to rate our post replies and tick if solved. Also, please remember that we here are NOT employed by Adobe, we do this out of love and fun, so its always nice to recieve a Please and Thank You! :o)