The problems left over from history have not been completed for a long time before running the rails project in windows, and the Environment has finally been completed and run... After I found that the CSS file could not be loaded successfully, I
Original: http://blog.csdn.net/huang_xw/article/details/7300201
experiment 3 first block area second block area third block area fourth block area
The effect is as follows:
Use firebug to paste the following line into the page you want to check. If the htmlCodeThe unrecommended labels or attributes are highlighted, and the levels are red, orange, and yellow.Here is a simple and easy-to-use
Four property values of position: 1. Relative2. Absolute3. Fixed4. Static 1. Relative) 1. Positioning Reference position: the position in the Document Stream corresponding to the block.2. Location offset: Set the left and top attributes. Note: 1.
The Code is as follows:
untitled document inline elements
I don't understand why the upper border of the inline element will "penetrate" the outer border, but the left border will not. (The Block Element border is 20px, while the
1. Absolute unit and relative unit: Px and EM (learning, huh, huh)
1. Code:
lorem ipsum dolor sit Amet, consectetuer adipiscing elit. lorem ipsum dolor sit Amet, consectetuer adipiscing elit.
1. Effect:
The previous height is the absolute
Original article link: Click to open the link
1. If your page is compatible with IE7 and you do not want to modify the existing code in large quantities, and can be used properly in IE8, Microsoft claims that, the developer only needs to add a line
-- From "getting started with CSS (version 3rd)" by LAN Pouncey and Richard YorkBox Model: controls the outer margin, border, inner margin, width and height]
· Margin
Attribute
Value
Margin
[ | | auto}
The use of all backgrounds to create columns on the Web page is very clever and kind, like the previous desktop program. Using three images, all the columns of the entire web page are generated.
Titletag.png
HTML code
entertainment
1. width is a ray
Many pages require adaptive width, so set the width to a percentage. Otherwise, the block elements will easily become a dog skin plaster that does not stick.When the width of an element is not defined, the browser fills up the
Example: (one row and three columns)
the content of ID "side" is displayed here the content of ID "side1" is displayed here the content of ID "Main" is displayed here
Note: Only such writing can be displayed after the test is passed.
=> Implementation function: JS event-driven and CSS inline style simulation tooltip;
tips for using CSS many colleagues who are about to develop software or who have not been doing it for a long time mostly focus on new technologies and
I made a website a few days ago, and the front-end style was quite new. So I have to find several examples to do it. This is a blog homepage. Today I am practicing CSS + Div.
:
CSS + HTML source code
exercise CSS personal homepage
Today, I made two calls to the main interface one day. The other is "CSS + Div hands-blog". The first one took 5 hours, and the second one took only one and a half hours. It seems that practice is quite a coincidence.
:
Source code:
CSS
I used CSS + Div to do two small projects in the past. I felt that it was not very smooth. I felt that it was necessary to make up the course in this regard. Recently I used CSS + Div to copy a few interfaces. It is a good practice, now we have a
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