• When I add an HTML comment <!–Example Comment–> into the code section for a page, it automatically pushes down a line in the code. For example, if I do this: </div><!--Example Comment--> it ends up automatically doing this:

    </div>
    <!--Example Comment-->

    The “HTML comment” doesn’t stay on the same line that I put it on (it bumps down to the next line). It then pushes my next line of code down and in turn adds a space.

    Is there any way to stop this from happening?

Viewing 1 replies (of 1 total)
  • Thread Starter MrCanuck

    (@mrcanuck-1)

    I find it strange that it does this. There must be a way to prevent this from dropping down to the next line. I hope so anyways 🙂

Viewing 1 replies (of 1 total)

The topic ‘writing HTML "comments" in page HTML code causing a space’ is closed to new replies.