Function loadjscssfile (filename, filetype ){If (filetype = "JS") {// determine the file typeVaR fileref = Document. createelement ('script') // create a tagFileref. setattribute ("type", "text/JavaScript") // defines the attribute type value as
I made a mistake. The CSS name cannot start with a number. Otherwise, it will not work. I did not notice this problem today ....
In addition, when defining Mo Li separately, the previous parent level should be fully written.
. Loginbox_ul Li
// Obtain the style attribute (name) function getstyle (ELEM, name) of the specified Element (ELEM) {// If the attribute exists with style, so he has been set (and is the current) if (ELEM. style (name) return ELEM. style [name]; // otherwise, try
ArticleDirectory
I. Incompatibility issues with dashed coarse virtual boxes
Ii. Use css3 to implement the border dotted box Effect of compatibility
Iii. Demo code and final result display
4. A little improvement
V. Conclusion
Abstract:1. doctype? Strict mode and hybrid mode-how to trigger these two modes and distinguish between them? 2: What are the elements in the row? What are the block-level elements? CSS box model? 3. What methods does CSS introduce? What is the
The image above is the source image. Take the following image as an example.
For example
Code Is:
You can modify the image effects according to the following code.
1. Transparent Effect
Code:Note:Opacity: transparency at the beginning (0-100)
Today I saw the DIV + CSS implementation method of the Think rounded rectangle. He roughly did this.
Accumulate or subtract from the margin 1.1 points of the margin. Relatively good results! I studied it ~
HTML part
This
ArticleDirectory
I. Preface
2. Some past practices I know
3. How do I structure the website CSS?
Iv. Applicability
From http://www.zhangxinxu.com by zhangxinxuAddress: http://www.zhangxinxu.com/wordpress? P = 944 I. Preface
Difference between IE6 and FF:Background: orange; * Background: blue;
Difference between IE6 and IE7:Background: Green! Important; Background: blue;
Difference between IE7 and FF:Background: orange; * Background:
How can we write highly efficient CSS? There are a lot of small issues that beginners don't pay attention to. When these problems are concentrated, the problem will be big.1. * {margin: 0; padding: 0;} do not use global Reset:Since it is a global
When CSS Li or DD is floating, the image is increased by 4 PX.
DD, Li, or a labels. After the image is inserted, the following values are added.4pxHeight (spacing), solution:1. Define an image as a block (display: Block)2. Fix the DD or Li
When I write CSS, I usually only use link to import a style sheet. Today I readProficient in CSS and HTML design patterns,It is roughly divided into six levels, from high to low.
1. The highest priority is the element in the HTML document header.
Default CSS of each Browser
Written by yuren WharfHttp://www.css88.com/archives/2418
With the help of the Wanzi editor, I finally found the default CSS of various browsers. As long as we solve a special problem today, we rely on the default CSS
It is often necessary to call CSS attributes of DOM objects when writing JavaScript code.
Comparison between box labels and attributes
CSS syntax (Case Insensitive)
Javascript syntax (case sensitive)
Direct sticking
Code Pull, this only applies to IE
Reprinted please specify http://netsos.cnblogs.com/
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Div{Scrollbar-3dlight-color:
ArticleDirectory
11.2 CSS matching rule reference
11.2.1 select a child Matching Element
11.2.2 inheritance
11.2.3 select child matching child element
11.2.4 use a combination to match multiple elements at the same time
11.2.5
Release several foreign XHTML template sites, div + CSS template download
First, open source web design (oswd) open source design
Http://www.oswd.org/
Second, solucija (excellent product)
Http://www.solucija.com/home/css-templates/
Third
Http:/
# Ghost doll:
It is estimated that many of you have seen it. Someone sent it from the past two days. These two days are a little busy, so you don't have to worry about updating them.
Thanks to friddy.
.
1. Vulnerability Introduction
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.