Home > Web Front-end > HTML Tutorial > I have a question to ask! ! ! _html/css_WEB-ITnose

I have a question to ask! ! ! _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:16:55
Original
950 people have browsed it

I am engaged in web design. After my web page is completed, it will be normal in any browser. However, when my brother (colleague) converted to PHP, a very strange problem occurred. Before, it was not centered and the top There were spaces, and then I added text-align:center; and finally it was able to fit, but there were a lot of detail problems, and the previous rounded rectangle became square. . . Wait for the question. Note: I used the same method to write a Chinese version before without any problems, but now it is an English version and there is a problem. Look at the code CSS and JS links under FIREBUG and all run into the BODY. Please give me some advice. I asked my brother, and I want to learn from it. This problem has been bothering us for two days. The Internet said it was caused by the BOM, but my brother said that the BOM has been removed. I'm really asking for advice. If anyone is here, I'll send you the link and source code.


Reply to the discussion (solution)

Since the previous Chinese version was fine, let’s compare it. Also, since you use rounded corners, you should use html5 and css3. The compatibility is not very good. Converting to PHP mainly includes header files. Also, when attaching it to PHP, are there any missing end tags or the like?

Big brother, thank you. Do you have QQ? I will add you and save me.

It may be that the DOM element is not closed, so there is a problem with parsing

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template