A while ago, the only front-end developer of the company went away, and no one was on top in a short period of time. Therefore, we had to cut pages/JS jobs by ourselves. It took me a long time to drum up CSS, I sorted out two basic CSS libraries to
Backgroundbackground-colorbackground-attachmentbackground-imagebackground-positionbackground-position-xbackground-position-ybackground-repeat
Set the background color (such as red): Background-color: red; or background: red;
CSS compatibility has always been a headache for everyone. IE6, IE7, and FF have been a headache for everyone. Since the official version of IE8 was released, we have been looking for a way to distinguish IE8 from the official version.
1.
Target = "_ blank" id = "moveuser"> bind an account
It mainly specifies the size of the block.
Then, use the background-position attribute x y.
X indicates the number of truncated data from the left side. The value 0 indicates a negative number.
CSS compatibility highlights: doctype affects CSS Processing
FF: When Div sets margin-left and margin-Right to auto, it is already centered, and IE is not working.
FF: When you set text-align for the body, you must set margin: auto (mainly
What Is A tooltip? This is a tooltipAnAiding text that appears just when you roll on with the mouse.Basic idea comes from Eric Meyer'sPure CSSPopupsA very clever way to get dynamic effects on an HTML pageUsing JavaScript.
My idea was to
When developing CSS on the Web page display layer, you may find that the style is not applied. This problem needs to be solved by using the firebug plug-in Firefox.
There are usually three situations where the defined style is not applied.
1.
ArticleDirectory
I. Importance of Reset CSS
Ii. Font importance
Iii. Connection
4. Do not use @ import in CSS
5. Do not use CSS expressions
6. Avoid using filter
VII. Bug & hack
8. Fully Understand floating
9.
This is a transparent CSS menu with compatibility: ie5.5 +, opera, frefox, and Netscape.
CSSCode:
Body {Font: 80% Arial, sans-serif; Background: #666 ;}# nav {width: 170px; Background: url(navbg.gif) Bottom; List-style-type: none; margin: 0;
The minimum height can be set to the minimum height of a box. When the content of a box is small, the height of the box can be kept to a certain level, and the box will be automatically extended down until now, only supported by opera and Mozilla,
The difference between different browsers and CSS hack is that there are manyArticleIn this section, we will try to make it as comprehensive as possible for future reference.Note that the hack statements described below only apply to xhtml1.0. If
The DIV of float must be closed. Example: (floata and floatb attributes have been set to float: Left ;) The notfloatc here does not want to continue translation, but wants to move down. This sectionCodeThere is no problem in IE, and the
1. CSS font attribute shorthand rules generally use CSS to set the font attributes as follows: font-weight: bold; font-style: italic; font-varient: Small-caps; font-size: 1em; line-Height: 1.5em; font-family: verdana, sans-serif; but they can also
In this era of browser competition, as a front-end developer, we have struggled to adapt to various browsers for our beautiful design, mainly reflected in JavaScript and CSS. I will not talk about JavaScript this time. Let's talk about CSS first. To
Html
>
Head
>
Title
>
Webform1
Title
>
Meta
Content
= "Microsoft Visual Studio. net7.1"
Name
= "Generator"
>
Meta
Content
= "C #"
Name
= "Code_language"
>
Meta
Content
Changing the appearance of Winform at runtime allows Winform to customize its appearance like Asp. Net through configuration files similar to CSS.
Of course, the configuration file is in XML format rather than CSS format.
How can we achieve
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