CSS. For example:
@ Import url ("main.css? 7.1.1 ");
However, this method does not work for IE4, which makes me a headache for a while. Later I used the following statement:
@ Import "main.css? 7.1.1 ";
In this way, CSS can be hidden in IE4, and 5 bytes are saved. For more information about the @ import syntax, see centricle's css filter chart.
16. Optimization for IE
Sometimes, you need to define some special rules for IE browser bugs. Here there are too many CSS skills (
interesting to readHigh-performance MySQL (2nd edition) – A classic book for DBAs and Developers! Recommended!Deep understanding of MySQL core technology – a glimpse into how MySQL works insideMySQL Tech Insider: InnoDB Storage Engine – now in-depth analysis of the best books of the InnoDB engine# Linux Management:The Linux System Management Technical Handbook desk must have a reference book."Brother Bird's Linux private Dishes" good introductory book."Linux 101
"#: todo:mm/dd/yy::". This was basically a comment line that acts as a TODO, where can type the the items so you would like to get it done late R.Fig 7: Type \ckt to add TODO inside bash shell script There is lot of powerful features in the Bash-support Plugin. Read the documentation for more information. The documentation is located in the following location on your system.
README: ~/.vim/readme.bashsupport
PDF: ~/.vim/bash-support/doc/bash-hot-keys.pdf
Online bash-support Vim
defines that all elements of the body are centered in the Ie5/win (other browsers simply center the text), the second text-align:left is the left of the text in the #warp.15. Importing (import) and hiding CSS
Since older browsers do not support CSS, a common practice is to use the @import technique to hide the CSS. For example:@import URL (main.css);However, this method does not work for IE4, which makes me very headache for a while. Later I used the following wording:@import main.css;This can
Opera * *
@media all and (min-width:0px) {. sofish{padding:11px}}
* WebKit * *
@media screen and (-webkit-min-device-pixel-ratio:0) {. sofish{padding:11px}}
/* Opera * *
@media all and (-webkit-min-device-pixel-ratio:10000), not Alland (-webkit-min-device-pixel-ratio:0) {. sofish{padding : 11px;}}
* * Firefox *
@-moz-document Url-prefix () {. sofish{padding:11px}} * All Firefox * *
Html>/**/body. Sofish, X:-moz-any-link, x:default{padding:11px; * Newest Firefox * *
And then, from the s
./* Not recommended */color: #eebbcc;/* Recommended */color: #ebc;Prefix selector preceded by a prefix (optional) with a special app identifier.It is best to include this identifier prefix (namespace) before the ID or class name in a large project, using a short dash link.Namespaces can be used to prevent naming conflicts and facilitate maintenance, such as in search and replace operations.. adw-help {}/* AdWords */#maia-note {}/* Maia */The ID and class name delimiter IDs and class names have m
looks like this: Pagination Navigation effect This method realizes and the front is different, uses the floating match position localization realization. The following is a simple introduction to the implementation of this method, the detailed reading of Matthew James Taylor wrote the "horizontally centered Menus with no CSS hacks" article. No floating div: Everyone knows that Div is a block element, and its default width is 100%, as shown in the fig
definition, we use a very useful technique to solve: using the Text-align attribute. Just like this:Body {Text-align:center;}#wrap {width:760px; /* Modify the width of your layer * *margin:0 Auto;Text-align:left;}The first body of the text-align:center; The rule defines that all elements of the body are centered in the Ie5/win (other browsers simply center the text), the second text-align:left is the left of the text in the #warp.
XV, import (imports) and hide CSS
Since older browsers do not su
Web page | adaptive
Three-column layout, a fixed-width left column is the navigation column, the right column can put Google Ads or Flickr album, Adaptive width of the middle column is the main content.
Characteristics:
There is an adaptive width between the middle column and the fixed width of the column.
The main contents of the middle column appear first in the Web page.
You can allow the contents of any one column to be the highest.
Very simple CSS and minimal
:
Body {Text-align:center;}
#wrap {width:760px; /* Modify the width of your layer * *margin:0 Auto;Text-align:left;}
The first body of the text-align:center; The rule defines that all elements of the body are centered in the Ie5/win (other browsers simply center the text), the second text-align:left is the left of the text in the #warp.
15. Importing (import) and hiding CSS
Since older browsers do not support CSS, a common practice is to use the @import technique to hide the CSS. For example
centered in the Ie5/win (other browsers simply center the text), the second text-align:left is the left of the text in the #warp.15. Importing (import) and hiding CSSSince older browsers do not support CSS, a common practice is to use the @import technique to hide the CSS. For example:@import URL (main.css);However, this method does not work for IE4, which makes me very headache for a while. Later I used the following wording:@import main.css;This can also be hidden in the IE4 CSS, hehe, also s
body are centered in the Ie5/win (other browsers simply center the text), the second text-align:left is the left of the text in the #warp.
15. Importing (import) and hiding CSS
Since older browsers do not support CSS, a common practice is to use the @import technique to hide the CSS. For example:@import URL (main.css);
However, this method does not work for IE4, which makes me very headache for a while. Later I used the following wording:@importMain.css;
This can also be hidden in the IE4 CSS,
Original question:C. Success RateTime limit per test2 secondsMemory limit per test256 megabytesInputstandard inputOutputstandard outputYou is an experienced codeforces user. Today you found out this during your activity on codeforces you had made Y submissions, out of which X has been SUCCESSF Ul. Thus, your current success rate on Codeforces are equal to X/Y.
Your favorite rational number in the [0;1] range is p/q. Now you wonder:what are the smallest number of submissions you had to make if yo
interesting to readHigh-performance MySQL (2nd edition)-a classic book for DBAs and Developers! Recommended!Deep understanding of MySQL core technology--a glimpse into how MySQL works inside"MySQL Technology insider: InnoDB Storage Engine"--the best book to analyze InnoDB engine at the moment# Linux Management:The Linux System Management Technical Handbook desk must have a reference book."Brother Bird's Linux private Dishes" good introductory book."Linux 101
place the text in # warp to the left.15. Import and hide CSSBecause the browser of the old version does not support CSS, a common practice is to use the @ import technique to hide CSS. For example:@ Import url ("main.css ");However, this method does not work for IE4, which makes me a headache for a while. Later I used the following statement:@ Import "main.css ";In this way, CSS can be hidden in IE4, and 5 bytes are saved. For more information about the @ import syntax, see centricle's css filt
Tips for improving your CSS development capabilities0. Directory
Directory introduction body 1 use not to add an interval Line to the navigation bar 2 Add the Line-Height attribute to the body element 3 any element vertical center 4 comma-separated list 5 use negative number 6 in nth-child svg icon 7 text display optimization 8 use max-height 9 in Pure CSS Sliders to initialize box-sizing 10 table cell width 11 use Flexbox to get rid of various Margin Hacks
10 years ago, only the most cutting-edge website designers used CSS for the layout and decoration of webpages. At that time, the support of the browser for CSS layout was incomplete and full of loopholes, so these people insisted on WEB standardization while at the same time, hacks has to be used to make their pages normally displayed in all browsers. One of the more and more hack technologies used is browser sniffing). The navigator. userAgent attrib
In the CSS layout, the center occupies a very important role, if not good use of the center, it will cause the entire page confusion.In the actual page layout, there are many ways to center, there are many simple and practical methods, there are honest methods. Just started to write the page, I prefer to use the honest way to write, because it is not wrong, but we should also grasp the common center method.Common Centering Method: Text-align:centerCenters inline text, or inline elements, horizon
This Bo for reprint, original in: http://caibaojian.com/modernizr-js.htmlModernizr this JS, in the foreign theme inside a lot of places are seen, just remember is for the HTML supplement, a bit similar with responsive. JS the same. Search this article today, in-depth explanation of modernizr.js is to detect the browser's CSS3 and HTML5 properties, and thus through the CSS to solve the compatibility problem. Personally think this practice significantly increased the amount of CSS code, and may c
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.