Getting started with jquery: CSS () and addclass ()
I have been studying jquery in the past two days. I just started to get started. from yesterday, I found a method of addclass. In this tutorial, a method is written like this.
$ (Document). Ready
1.>
In Div, if the height is set to be smaller than 20px and the content is blank, the height setting in IE6 does not work, and IE sets a default height of 20px, the solution is to set font-size: 1px, which is to set the default font size to the
Priority is actually a problem solved by a conflict. When the same element (or content) is selected by the CSS selector, different CSS rules should be selected based on priority, this involves a lot of problems.
The first is the specificity
After learning several examples of Adam, I wanted to create a navigation bar and accidentally opened the kangsheng chuangxiang website. I thought this navigation bar was good and decided to do it. My practice was as follows:
1. First look at his
The CSS translucent filter can be used in Firefox and IE, and is recorded for backup:
CSS code. Test {Background: #000;Color: white;Width: 200px;Position: absolute;Left: 10px;Top: 10px;Filter: alpha (opacity = 10 );-Moz-opacity:. 1;Opacity:
For CSS layout, refer to the IF condition annotation of IE to use memo.
All except Ie can be recognized
all IE identifiable
only ie5.0 can recognize
only ie5.0 and ie5.5 can be recognized
both ie5.0 and ie5.0 can be recognized
only IE6
The concept of Line Height seems very simple-the height of text lines. In fact, the basic knowledge of line height is also important for understanding other attributes in the future.Large volumes of dense text are often boring. Therefore, adjusting
Document directory
Fahrner image replacement (FIR)
Phark Method
Gilder/Levin Method
Abstract: Both browser and search engine are the best ways to display page content. However, due to font limitations, the display of pure text is gradually
HTML code demos zero dollars wrapping text styled form active focus shadow boxing Image Map fun with backgrounds fade scrolling em sized images menus spies menu vertical
The principle is to add two to three layers to a layer. However, these layers only have left and right edges, have a background color at the top and bottom, and they all have a length gap. That's it, the following is an example:
No title page
If you have many associated CSS files to be loaded together, or want to dynamically load different CSS files, the following methods must be helpful to you.
First, it is generally used to load necessary files in external CSS files.
Program code @
Document directory
1 .*
2. # X
3. X
4. X Y
5.x
6. X: visited and X: link
7. X + Y
8. X> Y
9. X ~ Y
10. X [title]
11. X [href = "foo"]
12. X [href * = "akasuna"]
13. X [href ^ = "http"]
14. X [href $ = ". jpg"]
15. X [data-* = "foo"]
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
Introduction to the article: The hacker forms the basic style of a project. This document introduces how to write a reset.css that is applicable to all objects, and how to configure the reset.css
0, IntroductionFor each new project, the
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
It is a practical method to change the table border style with CSS.
Production method:
Copy the following code to ~ , this is to hide the bottom border
hide
Copy the following code to ~ , this is to hide the upper border
hide the upper
Ah !~ It is hard to find an electronic Chinese version on the Internet, but it has been shown in the image format.
The file is too big. It has not been sorted out for a whole day, and the control is not enough. Here I uploaded the content of the
1. Introduction:
In the previous article, we briefly introduced the request method in this mode, which gives us a general understanding. In the subsequent sections, we will talk about settings in webconfig today, the setting here is to make
1. Review
In the previous article, we introduced the settings in webconfig to lay a solid foundation for data processing. Now let's talk about the RemoteCallHandler class in detail.
2. Introduction
The RemoteCallHandler class is defined in webconfig
CSS controls the background display of each element in html, including the background color, background image, repeated background, background positioning, and background Association. In CSS, you can use the background attribute to control these
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