Zend Studio has a space between the HTML code and the PHP code after formatting, how to remove

Source: Internet
Author: User
>

This code is in a loop, $i is self-increment, for odd rows, plus class, to highlight

I'm used to doing code with Zend Studio, ctrl+shift+f but there seems to be a bit of a problem in this case
In even rows, it should be displayed instead of a space, where the space between the HTML code and the PHP code can be canceled.

In the PHP format section there is a white-space I have all the spaces inside the cancellation, no effect. But in the HTML format section, also did not find similar function, the big can help me to think of ways to put.


Reply to discussion (solution)

Isn't that normal?
In HTML markup, is there a space between the tag name and the attribute that separates them?

Space between HTML is normal, but there is a space between the HTML and PHP code, it will cause some problems, the most common is that I asked the question

The space is your own good.
<> > This is good ...

Pressing CTRL+SHIFT+F will automatically have a space.

In order to organize the format, every once in a while to format

>

The space is your own fight ...

Look < p="">

It looks like it's a software feature, and it can't be solved.

  • Related Article

    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.