SETUP:
My local server is XAMPP with htdocs as the root folder, and my images folder is named imgs. The server has at its root an index page (e.g. index.htm is the home page).
Editor is most recent HTML Editor. I am using Code Editor and Preview, but NOT the Visual Editor.
PROBLEM:
While editing - and then saving, HTML Editor adds code. For example If I create a link to an image in the imgs folder located at the root, it occassionally adds incorrect file location info as follows:
The root has an images folder (e.g. /images). If I create a src link in my home page (index.htm) to an image located in the images folder, I enter it as follows:
<img border="0" alt="about" src="imgs/buttons/about.png" width="89" height="51"/> </div><div style="POSITION: absolute; TOP: 180px; LEFT: 125px">
When I save it, the editor goes thru some weird saving gyrations and the code changes to: <img border="0" alt="about" src="../../imgs/buttons/about.png" width="89" height="51"/> </div><div style="POSITION: absolute; TOP: 180px; LEFT: 125px">
The error is in the src="xxxx" - the source is in fact imgs/buttons etc, but it adds to the beginning ../../ or ../ which means go back 1 or 2 directories (which would be above the root).
ANOTHER PROBLEM:
Also, on occassion (when saving) the editor adds (space) betweeen each letter of each word or code or script, etc. on the entire html document or enters a series of <clear: xxxx> at the bottom of the page.
Thank you for your support,
John Underwood
Editor adds incorrect root path or...
PLEASE
Does anyone have an answer/insight to my problem?
Regards,
John Underwood
Does anyone have an answer/insight to my problem?
Regards,
John Underwood
Using WAMP server I can confirm your problem when trying to create a link to an image, but not if I try to insert the image. I'll check further into it and notify the CC techies.
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.