Compatibility issues with Inline-block
Compatibility:
IE6, IE7 do not recognize Inline-block but can trigger block elements.
Other mainstream browsers support Inline-block.
Ways to resolve IE6, IE7 compatibility:
1, the first set Inline-block
The goal of the XHTML standard is to replace HTML. According to the consortium, "XHTML is the successor to HTML " (http://www.w3.org/MarkUp/).
XHTML has two main goals:
Creates a more distinct separation between the document structure and
Effect Chart:
css and JavaScript creation
Page Right menu Right-click menu to create Test effect! Back Forward Cloud-Habitat Community photoshop Course javascript vbscript Software downloads Source Download Regular
A button is a component that no system can be missing, set to the size, color, status, etc. of the button.
BTN source code
. btn {
display:inline-block;
PADDING:6PX 12px;
margin-bottom:0;
font-size:14px;
Font-weight:normal;
line-height:
This has a new problem, the current work in the IE7 of the Web page in the IE8 will have problems.
Microsoft offers three modes of parsing pages in IE8
IE8 Standard Modes: The default of the most standard mode, strictly in accordance with the
Recently, I often have friends to ask me some of the CSS problems encountered in the work. They are always not good at controlling CSS, affecting the efficiency of CSS play. Let me analyze and summarize the error and help you to use CSS more easily.
The parent element box contains a child element box that gives the child element box a vertical outer margin margin-top, and the parent element box goes down the margin-top value, while the child element and the parent element's margins do not
Parse CSS list style attributes list-styleThe list-style attribute can be frequently used in list-item objects on pages, but it is rarely used. Generally, it is almost OK to reset the entire page to none. Many people may not know the details of the
SolutionThe third method is to set the font of the parent element to "0", and then reset the font size on the "inline-block" element. The code is as follows:Copy code Ul {List-style: none outside none;Padding: 10px;Background: green;Text-align:
Css style tutorial: text-and-text layout [under the text on the figure]. The title is messy because it doesn't know how to write it, next, let's take a look at the mixed text and mixed text effects and you will know how it works.View the css layout
Recently I found my css style sheet in. it works normally during tests in net2.0, but it becomes problematic when it is published to IIS. After the page is opened for the first time, the style sheet does not work, if you click the link on the page
In fact, CSS is also a powerful tool for separating HTML from data and performance. Stone CSS Oriented Design: COD is very suitable for my taste. It is not easy to get rid of Table Oriented Design. But once it is realized, the system itself achieves
Understanding the pseudo-class of cssA Pseudo-class (Pseudo classes) is a bolt used to specify the status of one or more of its selection characters. They are in the form of selector: pseudo class {property: value;}, which is separated by a
Example: top of DIV page layout (margin-left method)Left CenterMiddle rightBottomCode: The code is as follows:Copy code top left Center middle right bottom
Use CSS to write the effect of alternating colors on each row of the tableCSS is used to show the different colors of each row in a table. It is used to differentiate each row of data for easy reading. Some of them use the BUG of IE to add dynamic
The Background image Background Images has many attributes that can be operated.Fortunately, you can use background to process all: The code is as follows:Copy code Body {Background: white url (images/bg.gif) no-repeat top right;} The following
Margin is one of the most commonly used attributes in CSS la S. However, if it is not used properly, too much junk code is often generated, increasing the size of our encoding. Today we will introduce a small example of code optimization. Through
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