HTML insert of image - Page 2

User 38401 Photo


Senior Advisor
10,951 posts

[[[<div><h2>Bonsai Tool Chest</h2>
<img border="0" src="E:\WebPage\images\ToolChest1.JPG" alt="Bonsai Tool Chest" width="304" height="228" /></div>
]]]

Just take out the <p></p> tags as shown above and you should have it. Your first tag was a bit mixed up is all :)
User 193638 Photo


Registered User
557 posts

Humm... I tried that and it didn't solve my problem. The next three paragraphs are still all run together; no blank line between paragraphs. Back in the text editor of SCCP I even put in three hard returns and nothing.
User 193638 Photo


Registered User
557 posts

I closed out of SCCP thinking it would fix itself. But when I re-opened it, it took all the HTML that I just added and "smooshed" it all together, Including the following three paragraphs that have nothing to do with the HTML code. I manually put the breaks between paragraphs back in and when I previewed I have the same problem; those three paragraphs are still "smooshed" together; no breaks between paragraphs.

What gives??
User 364143 Photo


Guest
5,410 posts

Insert some <br /> tags.
CoffeeCup... Yeah, they are the best!
User 193638 Photo


Registered User
557 posts

Tom, thank you very much. But could you please take the above HTML code and add that where it should go. I would greatly appreciate it. I am getting a severe headache from this!!!
Thanks
User 364143 Photo


Guest
5,410 posts

The text that is all smushed together. Is this raw text that you are entering on the page without using the html tool? If so, it should maintain line breaks. If not, try enclosing the text with brackets and use the <p> tags for each paragraph.

[[[
<div>
<h2>Bonsai Tool Chest</h2>
<img border="0" src="E:\WebPage\images\ToolChest1.JPG" alt="Bonsai Tool Chest" width="304" height="228" />
</div>
<div>
<p>smushed text</p>
<p>more smushed text</p>
<p>and more smushed text</p>
</div>
]]]
CoffeeCup... Yeah, they are the best!
User 193638 Photo


Registered User
557 posts

Tom,
I did some reading on the <br/> tag and it is a line break, not to be used for the creation of paragraphs.
Besides, the paragraphs that will not "break" are not within any HTML code. Some how the HTML from above the paragraph has affected the breaks between the paragraphs. I am so frustrated at this point.
User 193638 Photo


Registered User
557 posts

I can't get it to work so I am going to quite for the night before I throw this computer out the window. :/

Thanks Tom, I will try again tomorrow.
User 364143 Photo


Guest
5,410 posts

That's why I suggested converting the raw text to <p> text within the brackets code.

You can use the line break however you wish.

<p>Hello world<br /><br />Hello world</p> will give you pretty much the same results as <p>Hello world</p><p>Hello world</p>.
CoffeeCup... Yeah, they are the best!
User 38401 Photo


Senior Advisor
10,951 posts

I haven't opened the program in a bit, but unless they fixed that issue (which they may have since I last checked lol), whenever you close the program and open it again, all spaces were removed from any inserted code and it's all pushed together. I know I saw a post where a few people including myself commented on this, and if I recall I think Scott said something about checking on this for an update, but not positive on it all as it was a while ago.

I do remember that all white space is basically gone once you close the program and reopen it so if that's the case, and if it hasn't been updated yet to fix that, then don't waste your time trying to fix it.

What I do is put the code into a text editor and save any code I add into a text file so I can always use it over and over and tweak it there and then insert using the HTML Tool, replacing or editing or adding whatever code I need. This way when it removes all the white space I still have the structured code in the text file.

Hope that helps and if that's been fixed .... well then .... nevermind :P

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.