Two days ago, a webpage was running normally in other browsers. In the case of a damn IE6 browser, IE6 was suspended, and all other pages opened were closed. It turns out that this is the first case. At the same time, we also found other card traps,
Here, I would like to thank the technical support of buptwusuopu.
When calling the Baidu map API, the elliptical fill color is used to change the covering color. Can I find the method http://developer.baidu.com/map/reference/index.php in the
1.
External (extenal) style sheets have the following advantages over inline and internal:
StyleCodeReusable. An external CSS file can be shared by many webpages.Easy to modify. To modify a style, you only need to modify the CSS file without
First, let's take the following code as an example: The effect is: the hyperlink text is displayed in blue without being clicked; the hyperlink text is displayed in red when the mouse is placed on the Link; when the link is clicked, the link is
I had a project several months ago and had a headache in displaying and executing JavaScript and CSS in different browsers. Today I searched the internet and summarized the information, this document is from the Internet and cannot be used to
Address: http://leotheme.cn/javascript/about-css-background.html
This is generally the case for background images in CSS:
Background: URL (images/*. GIF) No-Repeat;
However, when there are many images, like my Maxthon topic, a lot of background
Here we reference jorux's article "CSS needs to be rewritten for 95% of Chinese websites". The question is a bit scary, but it is indeed a defect in the production of domestic Web pages. I have never been clear about the relationship and features
Simulated table effect, passed the test in IE6, IE7, IE8, Firefox, and operaAlthough this method is not recommended for table simulation, it can be done.
HtmlXmlns= "Http://www.w3.org/1999/xhtml">
Head>
MetaHTTP-equiv= "Content-Type"Content=
When we refresh the content in the form, we are used to using cookies. However, this is really troublesome. The behavior in CSS solves this problem well.
For example:
The above is the frequently used behavior function, and there are many other
1. New doctype and Character Set
One of the principles of HTML5 is to simplify the complexity, and the doctype on the Web page is greatly simplified.
Character Set Declaration is also simplified:
2. New and Old Elements
HTML5 introduces many new
1. The DIV of float must be closed.
Example: (floata and floatb attributes have been set to float: Left ;)
The notfloatc here does not want to continue translation, but wants to move down.This code has no problem in IE, and the
Document directory
Widths
Microsoft get it wrong
Heights
The element background
Background reading
It's all aboutb o x e s jessey.net | Simon | articles | previous article | next article
In Cascading Style Sheets,Box ModelIs everything. The
1. Force line breaks and end with a ellipsis.
Why can't I see the results?
2. CSS wrapDiv {word-wrap: Break-word; Word-break: normal ;}
3. CSS forces English words to be disconnectedDiv {word-break: Break-all ;}
For Div nesting, to enable the
To be compatible with IE and FF,
JavaScript and CSS are compatible with IE and Firefox (FF) (Note: W3C stands for Firefox, chrome, Safari, opera, and FF stands for Firefox) current versions of firefox3.5, chrome3.0, safari4.0.3, and opera 9.64
// Original address: [url] http://www.alistapart.com/articles/alternate/#/url]Function setactivestylesheet (title) {// you can set the style based on the specified title passed.VaR I, A, main;For (I = 0; (a = Document. getelementsbytagname ("Link") [
Document directory
Principle
Application rounded corner generation
Other minor issues
A little bit about border's thumbnail I shared at the lazy club. The complete PPT is here..Principle CSS Box Model
A box includes: margin + border +
CSS-body background gradient CSS 1. Gradient body from top to bottom {filter: progid: DXImageTransform. microsoft. gradient (gradienttype = 0, startcolorstr = # ffffff, endcolorstr = #000000);} 2. Gradient body from top left to bottom right {filter:
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