The background attribute "Background" of CSS provides many attribute values, such as color, image, and positioning, which greatly facilitates the definition of background images on webpages. Check the attribute values provided by background:
I,There are two ways to add images to a webpage:
One is: insert directly to HTML using the labelAnother method is to add a CSS background attribute.
II,How can I determine how to add images ??
Add a decorative image on the webpage through the
Automatic line feed is a reasonable line feed for normal characters. Continuous numbers and English characters often increase the container size, which is a headache.
Article Now, let's summarize how CSS implements line feed. As long as the
From http://www.microspaze.com/
"
A css framework usually refers to a set of CSS files, including the basic layout, form style, grid, simple structure, and style resetting of a webpage. For example:
Typography.css Basic typographical
CSS browsers are incompatible. Tianyao feixian fell down on other websites and read it again. It's really a thing. If you say it's pretty good, you can turn it around and take notes for yourself. As the saying goes, it's better to have a good memory
This article describes some basic HTML, CSS, and JavaScript debugging skills.
I hope this will help beginners gain some benefits and reduce their detours.
I personally recommend chrome as a development tool (FF can use firebug, and IE8 and later
In CSS, there are two ways to achieve column layout. The first method is to use the absolute positioning (absolute positioning) in the four CSS positioning options (absolute, static, relative, and fixed ), it can remove an element from the document
Common CSS buttons, text boxes, forms, and other styles
Common CSS buttons, text boxes, forms, and other styles /** // * Button style */ . Buttoncss { Font-family: "tahoma", ""; Font-size: 9pt, color: #003399; Border: 1px #003399
CSS layout, fixed on the right, adaptive width on the left
Div
Style
=
"Width: 90%; margin: 0 auto; overflow: auto; _ display: inline-block ;"
>
Div
Style
=
"Width: 200px; float: Right; Background: #090"
> This is the
Link: http://www.fendou163.cn/article/20090115/24807.htmlThe key indicator of web site availability is speed. More specifically, the speed at which a page can appear in a visitor's browser window. There are many factors that affect the speed,
1. Use iepngfix
Example: http://www.twinhelix.com/css/iepngfix/demo/
: Http://www.twinhelix.com/css/iepngfix/
Advantages: the entire page can automatically process the transparent background of the PNG-24, do not have to do another picture
The following is my translation.ArticleYou don't have to pick out the incorrect translation. My goal is to convey this CSS technique.
Many Web designers like to place two or more containers side by side, and display the content of each container
Problem:Div {Background: # f00;Height: 1px;}
Purpose: I want to use Div to create a 1 px high line.
* The following ie versions are similar to IE 6.ie7 and Firefox.
At 100px and 1px, FF is normal. However, when the height attribute is smaller
In the previous article, I pulled the HTML stuff and now I want to read CSS,
1. completely separated HTML and CSS
Avoid using the style attribute on the label at any time; move the content in the label to an external CSS file;
2. Select
1. design the style sheet as needed. I will give it a general one here.
. button_down
{}{
Color: red;
Border: Inset 2px;
}
. Button_up
{}{
Color: black;
Border: outset 2px;
}
. Alt_row_highlight
{}{
Background-color: yellow;
}
.
Http://www.webdeveloperjuice.com/2011/09/28/7-beautiful-web-based-timeline-using-javascript-and-css/
A timeline is a way of displaying a list of events in chronological order, sometimes described as a project artifact. it is typically a graphic
Background
For pseudo classes or link pseudo classes, we may all know some of the writing methods of tag a, a: hover, a: focus, a: visited, and then write different styles, it indicates the performance of the link in various States. We may also have
IE6, IE7:
Display: inline;
IE is not compatible with Firefox! ImpOrtant
CSS hack: differentiate IE6, IE7, and firefoxDifference between different browsers, CSS hack writing:Difference between IE6 and FF: Backgroundrange; * background:
"executed statement"
Ite: less than or equal to means less than or equal to IE6 browser. It is used for condition comments of IE browser and is often used for CSShack and JS for IE.
The following situations are not verified.
1. All except
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