For every web developer, browser compatibility is a big problem. Firefox and IE are the most important user browsers. Generally, we install different browsers for testing. Firefox users can use the IE tab extension for debugging.
Now, you can try
In this way, new problems exist. Currently, normal web pages in IE7 may encounter problems in IE8.
Microsoft provides three page resolution modes in IE8
IE8 standard modes: the default most standard mode, which strictly complies with W3C rules
IE7
Different rules can be used to define the link styles in different content blocks. Similar to this: # nav A: link or # Main A: link or # footer A: link. You can also define different styles for the same element in different content blocks. For
This is a very simple application, but in the design, this can reduce the pressure on the server, is a good way to reduce the number of requests.
It is particularly worth noting that even two images in this small image can be slow in response time,
ArticleDirectory
List grid View
CSS list grid layout compatible and tested with IE6, IE7, safari 2, Safari 3, Firefox 2, Opera 9.21 List grid view sodales Porta Libero. n sodales porterat. nunc EU risus ut dolor
1. Check whether the HTML element has a spelling error and whether it has forgotten the ending mark.
Even veteran engineers often mistake the DIV nesting relationship. You can use the Dreamweaver verification function to check whether there are any
For example, there are four Li in UL whose width is 210px, and the four Li's widths are 80px, 120px, 140px, and 80px according to their own content length.
The effect I need is that four Li nodes are automatically arranged to the left. When the sum
CSS shows the excess part as a ellipsis. This method is compatible with Firefox _ script house _ www.jb51.net.
technical space of suntear
technical space of suntear
technical space of suntear
technical space of suntear
This attribute can be used when you think the distance between an image and text is too close.
Image-text interval: settings of the heat map ace and the vspace
1. horizontal interval: hspace.For example, (The unit is also calculated using
I used a symbol instead, but found that the display was relatively small. Later I did my research and found that all my fonts were defined as tahoma. As long as I used "", it would be normal.
· script home · script home ·
Force do not wrap
Div {White-space: nowrap;}
Automatic line feed
Div {Word-wrap: Break-word;Word-break: normal;}
Force an English word to break a line
Div {Word-break: Break-all;}
CSS settings do not change rows:
Overflow: hidden
Today I read an article about the ordered list.
Article . Write an example:
Type Value
Generate Style
Sequence example
A
Uppercase letters
A, B, C, D, E
A
Lowercase letters
A, B, C, C, E
I wonder if the Taoist school has ever encountered such a situation: When the CSS controls the image size, if the width of the image is written to death, for example, IMG {width: 500px;}, of course, if the image width is greater than PX, it can be
Selector: First-letter {font-size: 2.5em; font-family: "_ gb2312"; font-weight: bold; line-Height: 1.2em; float: Left; padding: 5px 2px 0 0; color: # c00 ;}
If you don't think it is clear, let's take a closer look:
First, you must have
...
Declare in global.css
# Myarticle {Width: 400px;Height: 300px;}
In this case, getelementbyid ('myarticle') is directly implemented through Js '). style. width cannot get the PX value, because the value is defined in CSS, so you must use
Although many documents have mentioned this many times, many friends still make mistakes on these issues. Let's take a look at these CSS skills today and read them carefully. You may not be able to fully understand them. You can search and expand
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