After ZendStudio is formatted, there is a space between HTML code and PHP code. how to remove it?

Source: Internet
Author: User
After ZendStudio is formatted, there is a space between the HTML code and the PHP code. how to remove this post and finally edit it by PioneerProgram in 2015-03-1811: 22: 19 & lt; tr & nbsp; & lt ;? Php & nbsp; if ($ I & amp; 1) echo & nbsp; classalterna Zend Studio after formatting HTML code and PHP code, how to remove it

This post was last edited by PioneerProgram on 11:22:19


>

This code is located in a loop, and $ I is self-incremental to highlight an odd number of rows with class added.

I used to use Zend Studio for code sorting. ctrl + shift + f, but in this case it seems that something went wrong.
In an even row, only one space is displayed, and the space between HTML code and PHP code can be removed.

In the PHP formatting section, there is a white-space. I have canceled all the spaces in it and it does not work. However, the HTML formatting section does not find similar functions, so you can help me find a solution.
------ Solution ----------------------
Isn't that normal?
In html tag, should there be a space between tag name and attribute to separate them?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.