Container inclusion relationships
In many cases, especially when the container has a parallel layout, such as two or three float Divs, the width is prone to problems. In IE, the width of the outer layer is broken by the div with a wider inner layer. You must use Photoshop or Firework to obtain pixel-level precision.
Questions about height
If the content is added dynamically, it is best not to define the height. The browser can automatically scale. However, it is best to set the height of static content. (It seems that sometimes it will not be automatically pushed down. I don't know what's going on.
The most cruel means -! Important;
If there is no way to solve some detailed problems, you can use this method. FF "! Important will automatically give priority to resolution, but IE will ignore it.
. Tabd1 { Background: url (/res/images/up/tab1.gif) no-repeat 0px 0px! Important;/* Style for FF */ Background: url (/res/images/up/tab1.gif) no-repeat 1px 0px;/* Style for IE */} |
It is worth noting that xxxx must be added! The important sentence is placed on the other sentence.
- 2 pages in total:
- Previous Page
- 1
- 2
- Next Page