Example:
*[LANG=FR] {font-size:14px; width:120px;}
*.div {text-decoration:none;}
2. Type Selector
Grammar:
E {Srules}
Description
The type selector. Use the document Language object (Element) type as the selector.
Example:
TD {Font-size:14px;
CSS Layer scroll bar _ experience Exchange
scroll bar diy-powered by yexj00
Above is the CSS layer scroll bar _ experience Exchange content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!
I have two examples here, if your browser is IE, you can test it!
1, first look at these lines of code!
Copy CodeThe code is as follows:
Note: I wrote one more
, this label is not closed!Look at the effect, rest assured, this will not die!
Click to view the results:
untitled document The following two div styles are basically the same, but the first plug-in (understand my meaning on the line) style: Background-color a!important behind, So, although the first Div line CSS
Look at the picture first (the image is just roughly done)
Effect Show :
Run the Code box Untitled document menu menu [Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
They are used to combine a large chunk of HTML code with certain information, most of which are associated with elements using Class attribute class and Identity attribute ID, see CSS Intermediate Guide class and ID selector.
The difference
ie Method:
The content inside the tag is centered.
Non-IE methods:
The left and right margins of the marker are automatically adapted to achieve a center effect.
The standard recommended method of using CSS is the latter, IE's set of
solution to display bugs in IFrame when Firefox returns _ Experience Exchange
Open the bug demonstration, because the cookie does not exist, the display of three Flash is implemented through the IFRAME Click "Click here to add an iframe ad",
Newly-written Tree:
1. Fixed a large number of slow loading problems
2. Improved application interface for greater scalability
Look at the effect first, then go back to writing the relevant use parameter document:)
Example
CSS Multi-line multi-column News mode _ Experience Exchange
Look at the picture:
This effect, or even three columns of four columns of news module, I used to use table, thought than CSS convenience, until later issued a floating, the original with
"There is no attribute target for this element (in this HTML version)"
Originally in html4.01/xhtml1.0/xhtml1.1 strict doctype, target= "_blank", target= "_self" and so on are not valid syntax, we can only be adapted through JavaScript.
A friend
Easy to make site navigation bar is
CSSA field that truly reveals its unique capabilities. The old way of making a navigation bar tends to rely on a large number of images, nested tables, and JavaScript scripts – all of which can seriously affect
Although fortunately Firefox3 in the resolution of this bug, but Firefox3 still in the beta phase, replace Firefox2 still need some time, the following to carefully say this question:
First, the style is {position:absolute;} The form input box in
Solution Solutions
The best way to display submenus in a navigation system is to create a sub-list in a list. This two-level navigation bar is easy to understand – even if the browser doesn't support CSS.
To produce a multilevel navigation bar, we
Do you want to use Photoshop to create a text with a gradient heading? Here's a simple CSS trick to show you how to create this effect using only CSS and PNG images. This method has been tested to fit most mainstream browsers. Of course, IE6 needs a
First, let's look at a simple example.
http://www.cssrain.cn
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
1. Break down your style
For small projects, divide the code into pieces and give comments by page structure or page content before writing the code. For example, you can continue to work by dividing the global style, layout, font style, forms,
We have listed more than 10 related knowledge and attention points, we can systematically explore, let us write a Web page open more smoothly.
Please do not tell me, you can not read E, but you do not want to see!!!
1. How the style system breaks
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