Jump to content

Small validation error


Guest

Recommended Posts

Hi

I have just about managed to get my cubecart skin to validate apart from one small annoying <p> tag that I that I can't find on my homepage.

If I remove {PAGE_CONTENT} from my template index.tpl, the error disappears (along with all my main page content too of course) which means that is related to the FCKEditor.

When I edit the contents of the homepage in the admin editor I can see that the editor wraps the whole content in <p> </p> when I click the source button. When I view the source in the browser I can see that the content is then wrapped in <p><p> </p></p> :

<div class="Title"><h1>Welcome</h1></div>

<p><p>Congratulations. It is now possible to start populating your store inventory. <br />

<br />

This message can be edited with the <strong><span style="color: red;">Rich</span> <span style="color: blue;">Text</span> <span style="color: green;">Editor</span></strong> which can be used to add vibrant content to help sell your products. This can be found on the admin side of your store under <i>Documents</i> &raquo; <i>Homepage</i>.</p></p>

</div>

Does anyone else get this problem? Is there a fix?

Many thanks

Mr M

Link to comment
Share on other sites

<div class="Title"><h1>Welcome</h1></div>

<p><p>Congratulations. It is now possible to start populating your store inventory. <br />

<br />

This message can be edited with the <strong><span style="color: red;">Rich</span> <span style="color: blue;">Text</span> <span style="color: green;">Editor</span></strong> which can be used to add vibrant content to help sell your products. This can be found on the admin side of your store under <i>Documents</i> &raquo; <i>Homepage</i>.</p></p>

</div>

This should read...

<p>Congratulations. It is now possible to start populating your store inventory.<br />

<br />

This message can be edited with the <strong><span style="color: red;">Rich</span> <span style="color: blue;">Text</span> <span style="color: green;">Editor</span></strong> which can be used to add vibrant content to help sell your products. This can be found on the admin side of your store under <i>Documents</i> &raquo; <i>Homepage</i>.</p>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...