Some time ago, I made a front-end homepage in the company and found that the HTML page prepared by the artist was added to the ASPX page.ProgramIn ie5, 6, and 7, there is a gap. It is normal in IE8, and I don't know why. After the program runs, checkSource codeAnd no problem, which makes me very depressed!
This is the effect of browsing in ie5, IE6, and IE7:
This is the effect in IE8 and is normal:
Some enthusiastic netizens said: Try adding the Attribute Overflow: hidden to the CSS of each layer (with an interval ).
Our artist uses the table layout. I have added overflow: hidden to all table labels and TB labels!
A netizen said:
Try one of the following:
1. Remove the hard carriage return between two divs or other labels with gaps. For example:
<Div> </div>
<Div> </div>
Change
<Div> </div>
2. Add font-size: 0px, line-Height: 0px, margin: 0, and border: 0 to related labels.
Parent container with padding: 0;
The first method is used to solve the problem!
On the my ASPX page, <TD> </TD> when the page is opened with DW, it is clearly displayed that there is a space behind the tag <TD> </TD>. If you delete the file, the space will not be displayed in! As long as the document is formatted in Vs and opened with DW, there will be spaces! I am speechless for such a small problem!