Syntax:Background-repeat: Repeat | no-repeat | repeat-x | repeat-yValid value:Repeat: default value. The background image is tiled vertically and horizontally.No-repeat: the background image is not tiled.Repeat-X: the background image is tiled only
When you log on to the csdn homepage, you will find a small window in the lower-right corner, which contains some simple tips. No matter how you move the scroll bar, it is always in the lower-left corner. It is very convenient to use as a prompt or
Click here to download the book ppt (in PowerPoint 2007 format)
Click here to download the source code of this book
Address: http://learning.artech.cn/20070430.css-reserch-content-table.html
Welcome to the cutting-edge video classroom. The
Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
Html
Xmlns
= "Http://www.w3.org/1999/xhtml"
>
Head
>
Meta
HTTP-equiv
= "Content-Type"
Just encountered a strange problem, such a CSSCode:
Background: URL (images/BG/bg1.gif) No-Repeat;
This Code does not show any background image, but collapsed...The code is certainly okay. Even if I haven't located the background image, I will not
There are four common methods to associate HTML documents with CSS:1. Mark with link
2. Use the style element
3. Use the @ import command
4. inline style)
This Is a red word
In practical applications, inline styles using the style attribute are
The following uses the div tag element as an example.
How to center a DIV, vertical center a div, and horizontal center a div. The main style definition is as follows:Body {TEXT-ALIGN: center ;}# Center {MARGIN-RIGHT: auto; MARGIN-LEFT: auto
Common text truncation (applicable to inline and block ):Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->. Text-overflow {
Display: block;/* Add inline objects */
Width: 31em;/* specify the
CSS design: Chapter 2
XHTMLAnd HTMLImportant differences
1. Mark the name in XHTML in lower case
2. In XHTML, the attribute name must be in lowercase.
3. the tags in XHTML must be strictly nested.
4. Mark in XHTML as closed
5. In XHTML, even the
Show Photo
link to the first image display
link to the second image
third picture display link
Optimized content:
1. Follow the mouse
2. added the scroll bar considerations.
3. display at the beginning of the image
The css between browsers is incompatible with each other. I believe that all web page makers will hate each other.
I have collected some common compatibility problem solutions and shared them with you.
1. The text size is incompatible.14 Px in
This article introduces the principle of margin parameter omitting in CSS. The margin attribute is used to set the margin of the four sides of the object. If all four parameters are provided, the top-right-bottom-left order is applied to the four
navigation menu finance and tax homepage government affairs disclosure online services announcement center regulatory center tax culture topic promotion welcome to source code lovers.
Method 1: directly add a style in
horizontal arrangement Adding's Blog
Method 2: implement it by defining CSS of li
homepage News Center product online feedback service contact
homepage News Center product online feedback service
I have been learning CSS for a few days. Although it is not often used, I still have time to consciously read some books or code in this area. However, it is strange to use padding-top to control the vertical center. Today, I went to www.w3cn.org to
I. CSS HACKThe following two methods can solve almost all today's HACK.
1 ,! Important with IE7! Important Support ,! The important method is only for the HACK of IE6. (note the writing method. Remember to advance the declaration position .)
2. IE6
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