Recently, Div, UL, and CSS are everywhere. My colleagues make a summary. It's good. The post is here.
1. UL labels have list-style and padding by default under ff, and IE has margin by default. the most suitable method is UL {list-style: none;
See http://s.k-zone.cn/less1 for detailsAs a Flex Developer, I cannot avoid dealing with HTML, JavaScript, and CSS. If you use HTML + JavaScript, I generally use jquery. After all, jquery is a very good choice for Web developers like me.But for CSS,
The box model is an important concept in CSS. Only by understanding the box model can the layout be better. In fact, there are two types of box models: the IE box model and the standard W3C box model. They have different interpretations of the box
CSS differences IE6 IE7 IE8 ie9 FF you can use \ 0 \ 9 to represent IE8 and ie9. you can use * to differentiate IE7. you can use _ different IE6 but cannot use IE8 ie9 so the value can be used IE8 style be sure to put it at the end. If
Http://www.360doc.com/content/070126/16/9936_345621.html
CSS is generally introduced in three ways on the page.1. directly write in the page
2. Use link for Reference
3. Use import for Reference
The first is to write CSS directly on the HTML
CSS compatibility has always been a headache for everyone. Now let's talk about how to differentiate these browsers. IE6, IE7, IE8, and FF all refer to the official IE8 version. Version: 8.0.6001.18702.
Taking color as an example, how to
The SS Layout looks simple, but it is not easy to ensure compatibility with multiple browsers. The 960 grid system framework is recommended here, but the official version is too large and there are too many files, qingzhu blog was optimized again
The main rules for CSS abbreviations are as follows:
ColorThe hexadecimal color value. If the two values are the same, they can be abbreviated to half. For example:#000000 can be abbreviated as #000; #336699 can be abbreviated as #369;
Box
Usage:
Eg: Height: 1% \ 9;
Summarize CSS hack of each IE version.
Hack
Example
IE6 (s)
IE6 (q)
IE7 (s)
IE7 (q)
IE8 (s)
IE8 (q)
*
* Color
Yes
Yes
Yes
Yes
No
The Alpha filter is used to set the opacity of an image or text. It is to mix a target element with the background. In other words, it is the transparency of an element. By specifying coordinates, you can specify the transparency of points, lines,
A few days ago, I wrote a tab control with the following style:
I used CSS to describe this style. The HTML and CSS code is as follows:
file Edit View site compile Tool
ul{border-bottom:solid 1px #999999;border-left:solid 1
Thinkphp was recently learned, but the process was certainly not a crash. after a day or two, I finally felt a little bit :):
I initialize the directory structure of my project:
------/Www/
----------/Www.myapp.com/
-------------------------/MyAdmin/
1. Basic Object
Array, arr
Boolean, bool
Data, date
Number, num
String, STR
Regexp, Reg
Functions, no suffix
Event, event
Object, OBJ
Function parameters: arguments, ARG
Try to indicate what type of suffix is available, one is the reference of the
The recent highlights of WebKit are the reference attributes of CSS 2.1,Date Selector, P2P API, future features such as MHTML a lot of work.
A new feature that many people are concerned about is WebKit's date selector. Tamura Kent has enabled
Generally, when reading the title of an article, when we encounter too many characters, the program intercepts a certain number of characters on the server side, and then adds... to capture the title length. In fact, we can also control it through
If you are willing to discard the browser of the old version and assume that your user is using a browser that supports css2 (for example, ie5 or later or Netscape 6 or later), you can use the newAllMedia descriptor to greatly simplify CSS code.
The
Everyone is learning CSS web page layout, studying CSS positioning, float, and the application and setting skills of various CSS attributes. This is not a problem. It is also worth studying. But it often ignores an important field, namely HTML. In
Some time ago with the art to do a system when using Visual studio2005, the page is gb2312 code, while the art side of the CSS style is the UTF-8 code. As a result, many styles cannot be correctly displayed.
Today, I met the CSS style downloaded
From: http://www.wangzhengdong.com/blog/ie6-ie7-ie8-firefox-chrome-safari-css-hack.html
Today, when I sorted out the CSS of my website, I found that my website was distorted under Firefox. At this time, I am in a hurry.
I found a lot of
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.