SnippetMaster Support Forums
Return to main website
 
May 24, 2012, 07:49:59 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 07:49:59 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Divs appearing from nowhere « previous next »
Pages: [1] Print
Author Topic: Divs appearing from nowhere  (Read 475 times)
tomatedesign

Posts: 3


[-] Divs appearing from nowhere
« on: June 02, 2011, 04:06:39 PM »

I had the following on a page

<li><span class="title">web: </span><!-- #BeginSnippet name="website" -->------<!-- #EndSnippet --></li>

when edited in SM by adding "none available" into the snipper it becomes

<li><span class="title">web: </span><!-- #BeginSnippet name="website" lastsavedts="2011-06-02 06:51:39" lastsavedby="editor"  --><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ffffff">none available</div><!-- #EndSnippet --></li>

so it's added in a div

<div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ffffff">

which I really, really don't want.

Why's this being added and how can I prevent it from doing so? I noticed in the path at the bottom of the window that it becomes path: div for some reason.

Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3070

SnippetMaster Author


WWW
[-] Re: Divs appearing from nowhere
« Reply #1 on: June 02, 2011, 05:22:46 PM »

When adding the text, are you selecting "format" form the style dropdown?  Or "paragraph"? 
Report to moderator   Logged
tomatedesign

Posts: 3


[-] Re: Divs appearing from nowhere
« Reply #2 on: June 06, 2011, 09:16:38 AM »

not touching that at all - in the code I added the snippet inside the <li> so the site owner had no opportunity to mess things up

<li><span class="title">web: </span><!-- #BeginSnippet name="website" -->------<!-- #EndSnippet --></li>

they just get into the snippets and add in the appropriate text - except in some instances it starts adding in random divs.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Divs appearing from nowhere « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!