I have updated my blog in an event, mainly because my work was a little busy during this time, and I am helping a friend in my spare time, so I didn't get in touch with new things. When I got online today, an old colleague (the master I just got out
1. Add it directly to the HTML identifier (TAG)
webpage content For example: Style = "font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: # ff9900"> CSS
This method is simple and easy to use, but is not recommended. This
The positioning attribute allows you to locate elements. 1. CSS positioning and floating
CSS provides some attributes for positioning and floating. With these attributes, you can create a columnar layout that overlaps one part of the layout with
1. For example, div {...} adds a style to all .
2. "#": Corresponds to the ID attribute of the tag in HTML, written as # Name . For example, # P1 {...} adds a style to ID is P1 . .
3. The first decimal point ".": corresponds to the
I want to modify my blog because I only occupied the middle part of my blog and added a little bit of CSS, this article is also available.Article. I. Necessary tools
1. Firefox plug-in firebug that allows you to conveniently view page elements. You
The following is a brief introduction to one of the most important aspects of CSS! The important attribute summarizes the following two points from the author's practice:
1. It is used to solve IE's deviation from some CSS specifications.
For
Siente is the United States here mentioned the CSS bar chart implementation method: http://www.cnblogs.com/rubylouvre/archive/2009/08/08/1541914.html
The implementation here is not that complicated. Please referCode
Code
Code highlighting
Original article from: a list apart Author: Sergio javasarrealOnestab [2004.02.28] "... If there is a technology that uses CSS to flexibly add shadows to any block-level element, and can automatically expand with the size of the content, but also
1. class selector
class selector Class = "one" > Class selector 1 Class = "two" > Class selector 2 Class = "three" > Class selector 3 Class = "two" > H3 is also applicable
2. Mark Selector
comparison between class selector and tag
If you want a webpage viewer to feel new each time they open the page, you can replace the CSS style. Next we will introduce it.
The JS Effect of loading CSS styles randomly is actually very good.CodeThe specific idea is to use a default CSS style:
In China, many front-end developers refer to the creation of XHTML + CSS pages as Div + CSS, and even many people do not know what XHTML + CSS means, I only know the blind pursuit of Div + CSS, but in foreign countries, there is no concept of Div +
It is logical to use CSS to layout the page layout Div!
Focus on understanding the box model,
Standard
The difference between a stream and a non-standard stream is also the positioning principle!
It's very easy to break
I checked the information on the Internet today and accidentally found the dll Control to add external CSS. The last time I made the control, I finally solved some problems.
AlthoughArticleI am not good at English, but the example is simple and
Author: nuysoft/high cloud QQ: 47214707 Email: nuysoft@gmail.comDisclaimer: This article is an original article. If you need to reprint it, please indicate the source and retain the original article link.
Jquery source code analysis series
Document directory
Offsetwidth/top
Mozilla and opera
IE
Sometimes you want to see the default style of the document. For example, if the width of a paragraph is 50%, you want to know the exact pixel of the paragraph in the user's browser.
In
Jquery's operations on css are quite convenient, so we can easily modify css through js. Traditional javascript has complicated operations on css, such
style="background:blue">css
The background syntax is as
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