CoffeeCup HTML Editor adding blank lines

User 2743456 Photo


Registered User
3 posts

My website has been originally created with notepad++, but I recently bought CoffeeCup HTML Editor since I tried the free version and fell in love with the feel and functionality of the software. Now, however, I'm noticing this strange glitch appearing on my web pages by just opening the HTML file in CoffeeCup and saving it without any modifications whatsoever. It seems the editor adds a blank line above the header image, and I cannot find anything out of the ordinary in the code. The website is very simple and doesn't have really any complicated elements in it. I have tested this with different browsers (IE, Firefox, Safari and Chrome), Chrome being my default browser. The same blank line is displayed with every browser.

I will provide two links to my website, one is to a HTML file that has not been saved at all in CoffeeCup as of yet, and one that has been opened, saved and closed, nothing else. Hopefully it will help to demonstrate this minor, yet very annoying problem as I cannot pinpoint the problem in the code. Pay close attention to the upper edge of the screen between the two pages; one is nicely placed to the very edge of the browser screen, and the other has an annoying blank line in between the edge of the browser screen and the header logo image.

What can I do to resolve this problem? I cannot reverse this problem by opening the file again in notepad++ and saving, and I really shouldn't need to even consider something like that.

http://www.vincentlakes.com/index.html (saved in CoffeeCup)
http://www.vincentlakes.com/author.html (saved only in notepad++)

Best regards,
Jari
User 2088758 Photo


Senior Advisor
3,086 posts

Hi Jari,

I may be going bug eye'd here but I can't see the difference between the two. Can you do a screen shot of what you are seeing and highlight the difference between them.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 38401 Photo


Senior Advisor
10,951 posts

I'm in Firefox and checked it in there and see no issues either. Try refreshing your page or clearing your browser cache and see if that helps. :)
User 271657 Photo


Ambassador
3,816 posts

?<!DOCTYPE html PUBLIC "-//W3C....

Why is there a ? before the Doctype?

Also, this is all you need for your Doctype:
<!DOCTYPE html>

You should also validate your code, see if there are some missing or unclosed tags.;)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 2743456 Photo


Registered User
3 posts

paintbrush wrote:
?<!DOCTYPE html PUBLIC "-//W3C....

Why is there a ? before the Doctype?


Oh my god I must be blind. I stared and stared and I couldn't see that question mark. Where the heck did that come from?

I'll go to the corner wallow in shame.

Thanks for pointing it out. This is embarrasing, I'm not sure if I should laugh or cry.
User 271657 Photo


Ambassador
3,816 posts

I have a habit of double-typing vowels... voweels :lol:
We all have those days; the harder you look, the less you see!
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 92156 Photo


Registered User
272 posts

I've read that when reading off a screen the mind will often see what it expects to see, not what's there - and it seems to be true for me!
Two fixes are to printout a hard copy and scan that (messy if it's a large file), or get someone else to proof read for you.

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.