I learned CSS for a week and didn't buy any books to read. I provided some information about the webpage framework designer of the company.
Learning materials, and then participating in the project to apply them slowly, it is very good to use this
The following test environment is IE6:
1. webpage image format selection:
GIF is applicable when the image color is not many and the precision requirement is not high. Because GIF will make the file relatively small, this can greatly improve
I have been studying Div + CSS in the last two days. Actually, I have read
Article , Div + CSS, which is called incorrectly, should be XHTML + CSS. DIV is just a tag of XHTML.
Besides, I found that many of our artist's ideas are wrong. For example,
Writing sequence of Hyperlink styles in CSS
There are four hyperlink styles:
A. Link {}/* normal style */
A. Visited {}/* style accessed */
A. Hover {}/* outdated style of mouse hyperlink movement */
A. Active {}/* specifies the style when you
Our friends at the development front-end know that even if we use CSS2.0, there will still be many problems. To develop a well-compatible page, the IETester is always around us, it can help us test how our page looks like in various IE versions, and
The so-called "omitted" means to display the extra words with "...", while the display means to display the omitted words again when you move the mouse over td. For a table, CSS is compatible with the omitted methods of IE, FF, and Chrome:
1 table{
There are four hyperlink styles:
A. link {}/* normal style */
A. visited {}/* style accessed */
A. hover {}/* outdated style of mouse hyperlink movement */
A. active {}/* The style when you right-click the mouse over the hyperlink */
The normal
Frame page file settings:
or
Method 1:
Disadvantage: the white ones in iFrame become transparent.
Method 2: (recommended for personal use)
There are several other methods to compare:
Many other attributes of CSS are easy to understand, such as fonts, texts, and backgrounds. Some CSS books will also introduce these simple attributes in a great way, but ignore the explanation of some difficult attributes, which may be avoided.
Javascript and Css are usually referenced in the ... label, but there are also special cases that need to be referenced in the background.
Write a class that references Javascript and Css in the background
/// /// Add the JS script link /// ///
CSS
Js get attributes
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Document. getElementById (id). currentStyle. Attribute;
Modify attributes in js
Code highlighting produced by Actipro
How can I clear useless css styles? When we write styles, after several versions of CSS on the page have been modified, some styles may not be used, and some styles may have been renamed and forgotten to be deleted, in short, some useless styles may
Using css hacker, I can divide browsers into three categories: IE6, IE7, and roaming; others (IE8 chrome ff safari opera, etc)
◆ Hacker recognized by IE6 is an underscore _ and a star number *
◆ Hacker recognized by Internet Explorer 7 is an
The CSS styles of IE7 and IE8 are not compatible with nternet Explorer 8. The default settings are based on CSS 2.1 and many CSS bugs of Internet Explorer 7 are fixed, this means that some web pages previously designed based on IE 7 may be displayed
1. Add the ControlRunat = "server"
After modification:
2. controlsAddRunat = "server"
After modification:
wcdma hsdpa
3. javascript
Path Problem, add a section
in this way, you can specify the path to the Content page relative to js and
Reasons for modification and description
1. Modify the Aspx page to an HTML page:
Cause: the request to the HTML page is shorter than the Aspx page. The page content can be presented to the user in the shortest time.
Principle: No need
Vi. CSS
Css (name) Return Value: String
Access the style attribute of the First Matching Element. Example: obtain the value of the color element attribute of the first section.
Code highlighting produced by Actipro CodeHighlighter
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