A lot of friends when using Dreamweaver8 will encounter the situation: to the current edited document linked to the CSS file, and the page element to apply the definition of CSS style, but in the DW8 can not see any effect. The following figure.
Layout
CSS is essential for the purpose of CSS design.
CSS layout and a few years before the table when the layout is not the same, after the structured semantic HTML document, CSS in the format of the document rendering effect, the structured
Crosshair;
Cross-aligning Heart
The cursor render as a crosshairCursors appear as Crosshair
Cursor:pointer;Cursor:hand;Write two is to take care of IE5, it only recognize hand.
Hand
The cursor render as a
If there is a div container outside, and its internal div container sets the float style, the outer container div cannot be stretched because there is no clear inside.Workaround:CSS code:
Copy Code code as follows:
. clearfix:after {
content:
*{margin:0; padding:0;} html,body{width:100% height:100%; body{background: #fff URL (/eg/eg_2014_01_02_14_50.jpg) center no-repeat; let the background picture in the body label vertically centered &L t;h3> label background picture Horizontal
Font-size:1.5em;
In fact, in foreign CSS writing, using EM as a unit is a lot of human considerations, the second is the United States Department of Labor Section508 Act imposed restrictions. So in web design, there are three kinds of metric units
Display:inline-block attribute usage in CSS
When you use CSS to implement performance, you will often be exposed to the attributes of Display:inline-block, whether it is the first contact with the Web standards or contact with the standard of a
Do the project today, learn to learn Nginx found is also good, speed can also, but CSS JS is not used, the original Nginx configuration requires different types of file configuration rules, it is very depressing, but think also is very reasonable.
Before using the CSS sprites often encountered a problem, if you need to repeat the background of the situation how to solve?
The general solution is: if it is horizontal, the picture set to banner, you can repeat-x. Take the method of no
Web page design encountered irregular text typesetting problem, usually we have two choices, but these two methods are not reliable, encounter special internet equipment, but also can not show out to play its role. Here to introduce you to use div
When clicked, the link will appear dotted, even if it is released, it still exists, sometimes it is not beautiful. Since it's not good-looking, don't want it. How to get rid of it?
Method One
IE can use its proprietary HTML properties: Hidefoucs,
CSS Wave filter may be a lot of friends do not like to use, its practical good, can have a lot of singular effects. The CSS Wave filter adds the wave style to the object in a vertical direction, making the object look like a wave in the year. Syntax
Paragraph indentation is very practical, with the P tag can play an unexpected effect. The paragraph indent definition in CSS is implemented by text-indent, below its parameters and usage:
Syntax: Text-indent:〈 value
Allowable value: Length or
CSS Interlace color usage is very high, today took the time to write this short tutorial, teach CSS not comfortable beginners two ways to achieve the color of the different colors of the CSS function. You know, interlaced color of the object is
This seems to be an unnecessary function, but for people who have always liked individuality, this is a useful attempt, like a challenge, to collect innovation. Text selection on the Web page, usually the blue background, which appears to be
April Fool's Day is coming, if you want to have a geek joke with friends or colleagues who want to surf the internet, try these CSS. Disclaimer: All the consequences of the spoof, please the person responsible for the hoax. This site does not assume
This article introduces CSS layout positioning properties, skilled use can easily achieve beautiful site layout, interested friends can refer to, I hope to help you
CSS Positioning properties: Bottom, left, right, and top position Clip
The principle of the button adaptation is to use a label and I tag each one of the background combination into a button to achieve adaptive, the implementation of CSS style and HTML structure as follows, interested friends can refer to the following
Many of the other attributes of CSS are easy to understand, such as fonts, text, backgrounds, and so on. Some CSS books will also make a high-profile introduction to these simple attributes, but ignore some difficult attributes to explain, there is
Table Single-line Layout in a special case or more practical, the following for you to introduce how to achieve the use of CSS, interested friends can refer to, I hope to help you
Copy Code code as follows:
Table{border-collapse:collapse;
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.