I found some information and said that the scroll bar can be hidden by adding scroll = "no" to ;
Add style = "overflow-X: hidden" to to hide the horizontal scroll bar. add style = "overflow-Y: hidden" to hide the vertical scroll bar. I can't do it
Cnblogs provides many blog interface templates that I personally don't like very much, so I just set up CSS on my blog homepage. If a friend thinks that my blog interface is good, you can use my style. Before using a custom style, you need to make
Difference between different browsers, CSS hack writing:
Difference between IE6 and FF:
Background: orange; * Background: blue;
Difference between IE6 and IE7:
Background: Green! Important; Background: blue;
Difference between IE7
Http://www.jadu.co.uk
Concise and generous, with color caution, arrange rules, advocate high-gloss/mirror/three-dimensional perspective design skills.
Typical Div + CSS rebuilding Web sites in the revolution.
The interface has won the
Most of them are used now! Important comes to hack. It can be displayed normally for IE6 and Firefox tests, but IE7 is correct! Important can be correctly explained, and the page will not be displayed as required! If you find a good hack Method for
I:IE:Word-wrap: Break-word;Word-break: Break-all;
Firefox:JS Control
II:IE, Firefox:
There is a wordwrap. xml file. The content of this file is as follows:
// VaR ELEM = this;
ELEM. addeventlistener ('overflow ',Function (){VaR exp =//g;VaR TXT =
Flex2 development projects often need to verify user input. flex2 itself provides us with rich components.The following example provides the following features:1) centralized data verification2) locate the cursor to the first verification failure
1. Do not use a small image for background tile. This is why many people do not need 1px. Images with a width of 1 px and a height of 200 PX are tiled out, which requires 200*40,000 = times to occupy resources.
2. No border. The recommended method
Solve the Problem of CSS browser incompatibility
What is the principle of CSS hack?Because different browsers have different support for CSS and parse results, they also have a relationship with the priority of CSS. We can write different CSS
First, if you want to see the demo, create a notebook, add the following code, save it, change the file name to abc.htm, and run it directly.
Copy code
snail bait online snail bait online snail bait online snail bait online
For a simple and hidden menu, there is only one menu label for the indicator at first. When you move the mouse over the menu label, the complete menu is displayed. Javascript has many versions, but few have CSS versions. So far, I think this menu is
Adaptive height: When three or two columns are laid out using Div + CSS, because you do not know the specific height in advance, you can only increase or decrease the adaptive height based on the content, in many cases, the DIV height of the two (or
Table_01 is 20% transparent background
Content is the font inside, where
Position: relativeIs the Key. Text will become transparent with the font if it is not added.
For example:. Table_01 {Filter: alpha (opacity = 20 );}
. Content {Font-size: 12
During floating layout, most people know that floating cleaning is necessary: .For example: some content Preview the code and we will find the parent element of the outermost layer.Float containerIs not displayed. This is because the child element
Effect:
Main: I am the DIV with the package outside.
Col1 I'm the first column col2 I'm the second column clear-float; I used to clear float (clear float)
The following is a description:
CSS code:. Main {width: 800px;/* total width */Background: red
1. For compatibility issues in IE8, it is best to solve this problem by converting it to IE7 compatibility.Add the following code in the header. If the code is compatible with IE7, it will be compatible with IE8.
2. The floating flaot causes the
Source: Discussing CSS management and optimizationBishua Translator
More and more large websites are paying attention to and using CSS. It is clear that they have objections to managing multiple complex CSS files. The following is the first part of
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