Settlement Author: Atzie 2004-7-24 14:56:36
In the design of "web designer" page, there is a problem has been bothering me, the main menu in IE and other (Mozilla, opera, etc.) browser shows the effect of 2px deviation. Screenshot below:
The effect in IE
The effect in Mozilla Firefox
This is due to the bug caused by IE's explanation of the distance between the boxes (refer to Onestab's "floating model Problem"). I have not solved this problem until I translate "css--a battle of life and D
Recently in the project to find a lot of CSS code inside the use of!important to overwrite the original high priority style. According to common sense, the more flexible things, the more work needs to be done. So take it for granted that a flexible and convenient rule like!important would certainly have an impact on performance if used much. Based on this consideration, all of these styles were intended to
Is to be compatible with IE/FFFont-size: 12px! Important;Font-size: 13px;In IE, because IE does not understand it! Important, the font size is displayed according to the last set 13pxAnd FF ,! To improve the priority of important, the font size is based on! 12 px display of important flag"!
to his fans at the scene. ”Liu June recalled his history of taking over Lenovo phones at the press conference. From 2011 to 2015, he left the mobile phone business, Lenovo mobile phone from 500,000 to nearly billion Taiwan, made China ranked second, the world ranked third success. "4 years of boundless love and effort. "he said.Lenovo Mobile Association Lenovo China, into Liu June wisdom Lenovo strategic important battle Force!Liu June also Chen, in
In the design of "web designer" page, there is a problem has been bothering me, the main menu in IE and other (Mozilla, opera, etc.) browser shows the effect of 2px deviation. Screenshot below:
The effect in IE
The effect in Mozilla Firefox
This is due to the bug caused by IE's explanation of the distance between the boxes (refer to Onestab's " Floating model Problem "). I have not solved this problem until I translate " table vs css--a Battle of life and Death ", the author of a tip help
!important is generally used to distinguish between IE6 and Firefox, such as the basic hack method of browser. Because IE6 does not support!important, and Firefox can read!important, it changes the priority of the style. In fact IE6 in some cases, can also know!important.For example:styletype= "Text/css">. Demo{Color:Red!impo
CodeAccumulation and programming capability which is more important
Code accumulation and programming capabilities which are more important
If you compare writing software to making money ..
The code document itself is equivalent to moneyThe programming capability is equivalent to the ability to make money...
Both of them are essential... Of course, the ability should be more
Designers of div + css web page layout are often troubled by a problem.The effect displayed in IE and other browsers (Mozilla, Opera, etc.) is often 2px different.This is because of the bug in IE's interpretation of the distance between boxes. A tip to help us find a solution: Use! Important.! Important is a syntax defined in CSS1 to improve the application priority of a specified style rule.Syntax form
CSS!important function is to improve the application priority of the specified CSS style rules!important is the syntax defined by CSS1, which is to increase the application priority of the specified style rule. The syntax format {cssrule!important}, which is written on the last face of the definition, for example: Box{color:red!
The main contents of this section:1: How to get Configuration items in a configuration file in a non-annotated way2: Use annotations to Get External properties file configuration itemsStatement:This article is an important note for the Spring boot framework to learn preschool Mastery (3)-Read the external resource profile by annotating the Edith accompany you learn series-Framework learning Spring boot Framework learning. You are welcome to commentOne
For some variable layer (such as user reviews), we want it to have a minimum height (such as 30px), so that even if the content is only one line, it will not be too ugly, but also hope that in the content of a lot of time, the height of the layer can be automatically open, that is, demand height:auto. You can then set the Min-height property of the CSS. Min-height is valid in Firefox, but IE is not recognized. You can use the following solution:Copy CodeThe code is as follows:. div_class{min-hei
Today this topic, said is very simple, the face of the problem is to choose the most important to do or choose the most urgent to do, there is a logical thinking of the problem. For example, someone is busy doing a website optimization work, the boss has given a lot of sites to optimize, the first site has not been optimized, other sites are still waiting there. A colleague looked very anxious to say that the method you adopt is too inefficient, impro
Php regular expressions are very important. A very important php regular expression explanation. a php regular expression is a very important knowledge point in php. it is usually used to find and replace strings, the most commonly used is the explanation of php regular expressions that are important for verification,
Doing the right thing is equally important as doing the right thing-a six-year summary by a software engineer
Doing the right thing is equally important as doing the right thing.
A 6-year summary by a software engineer
Author: Cheng Xiaoxu
(Statement: you are welcome to reprint it. Please ensure the integrity of the article)
"When I graduated in another year", I saw a batch of students leaving the Ivory Tow
The principle of CSS:We know that CSS is written in different places with different priorities,. css file definitions First, let's look at the following code:DOCTYPEHtml>Html>Head>MetaHttp-equiv= "Content-type"Content= "text/html; Charset=utf-8 ">Title> Test in CSS! Important differencesTitle>head> style type= "text/css" >.testclass {Color:blue!important;} style>body> div Class= "TestClass" style= "color:r
The principle of CSS:We know that CSS is written in different places with different priorities,. css file definitions First, let's look at the following code:DOCTYPE HTML>HTML>Head>Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8">title>Test the CSS in! Important differencestitle> Head> styletype= "Text/css">. TestClass{Color:Blue!important;}style>Body> Divclass= "TestClass"style= "color:
A summary of important subdirectories and contents of Linux systemOriginal: http://blog.csdn.net/xiaolong361/article/details/523188341. First introduce some important directories under the root directory meaning note: It is more important to be tagged.
Directory
Description
/bin
Commonly used binary command directories. such
Http://www.cnblogs.com/tanlon/p/3879081.htmlLearn about the more important functions and data structures in FFmpeg before you begin the decoding exercise.1. Data structure:(1) AvformatcontextAvformatcontextis an always-on data structure, and many functions use it as a parameter.ffmpegformati/ocontextavinputformat ( oravoutputformat same time avformatcontextavstream, avpacket These important data structures
1 goalsThe road to self-study is very difficult, a person to endure loneliness to learn those dull knowledge, is a normal person will feel pain. So there is a goal is very important, to me, I was self-taught programming is to learn to do a lot of development, coupled with the time is very bitter, urgent need to earn money, so I made up my mind, self-study Android is to earn more money, after all this is a goal to support me all the way down!I also bel
Many of the above content is part of the introduction. If you have a better understanding of these content, you can directly jump to the "Solution to the box model problem" below to view the main content.
Let's talk about it first! Important Problem (Box Model Problem ):
In the CSS standard, a box model consists of four areas: content, padding, border, and margin ). CSS has its standard for calculating the width. But in fact, different browsers
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.