1. Bug Description
Write code today when there is a problem, the front page of some small icons disappeared, after F12, found that the error message is as follows:
Failed to decode downloaded Font:http://localhost:8080/font-awesome-4.7.0/fonts/fontawesome-webfont
Of course, this is only one of them, because there are several icons can not be displayed, so there are several such error messages. 2. Bug Resolution
I first Google this error message, a
Note: The following code is tested in the version after Firefox 3.5, Chrome 3.0, and Safari 4. The implementation of IE8 is different from other browsing. Cross-domain requests, as the name suggests, are resources in one site to access resources on another different domain name site. This is common, such as loading an external style sheet file with a style tag, loading an external picture via an IMG tag, loading an external script file with a script tag, loading a font file by
1. Set the fontFonts are set through the Font-family property in CSS.Font-family:verdana, Arial, Helvetica, Sans-serif;The font settings above tell the browser to first look for Verdana fonts on the visitor's computer. If the visitor does not have a Verdana font in the computer, look for the Arial font. If you do not have Arial font, then look for Helvetica, Sans-serif font in turn. If none of the 4 fonts a
units, the fluid layout is used as a percentage, that is, as the device screen changes, the layout of the percentage of the corresponding changes, improve the flow of the page. Introduction to fluid layout and various layouts, reference Desert: Responsive Design: Fluid layoutat the same time, fluid layout is closely related to media queries, and media properties allow different devices (such as screens, printers) to specify different style sheets, and to specify the corresponding style based on
The following specifications suggest that all areAlloyteamin the daily development process to summarize the refining experience, the specification has a good project practice, highly recommended to useFont settingsUse sans serif fontsbody { font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif;}iOS 4.0+ uses the English font Helvetica Neue, before the
iPads cocould have made use of core text from day 1, but to me it made more sense Supporting iPad via Hybrid apps where the iPhone part wocould still be backwards compatible. \ now as the year has turned the adoption of 4.x on all IOS platforms is ever more accelerating. creating new iPads where found under the Christmas tree and by now even the most stubborn people (read needing 3.x for jailbreaking and Sim-unlocking) have little reason to stick with 3. x. thus we have almost no incen Tive lef
Serif to avoid using the default Serif font on the local machine when the client does not specify a font.
Because the linefeed font is very readable, the most widely used part is the text content of a publication or print, and other works in the form of a large text.
Common linefeed fonts include Georgia, Garamond, Times New Roman, and Chinese.
The font of the inlined line is relatively smooth, and the lines are generally even in width. It is suitable for use as an artistic word or title. B
Recently, I modified the dottext blog interface. I don't know how to use the artist, so I changed the color to a white-dominated simple style. If you want to change it to another style, please refer to "Color Scheme".
Next I will put My modified code out, if you have better code don't forget to tell me Ah (http://blog.csdn.net/fengyv )!
Body {
Font-size: 0.9em;Font-family: verdana, Geneva, Arial, Helvetica
ArticleDirectory
Arial and Helvetica
Arial is everywhere!
Thai cuisine
Trucks on highways
Mirabeau *
Garage cleaning
Swarzkopf
Tommy hillfiger
Kaldi koffie
Body Text
Hotel logo
Going up the hill
Sun Terras
Ski rental
Digid
House selling
Private stores
Pipeline Company
Advertising bags
Vehicle plate holder
Business mark
Cafe
About Arial Fonts
Additional reading
Arial i
"high definition version" (BT) from the Internet archives ), subtitles are available in English, French, German, Italian, Japanese, and Polish. The Chinese version is translated by Ruan Yifeng and downloaded from his blog.
Welcome to Macintosh (2008)
Legend fonts Helvetica (2007)
Helvetica is the default font for Apple computers. The Arial font commonly used by Microsoft also comes from it. Last
CSS itself is interesting, but as the style sheet becomes larger, it becomes more complex and more difficult to manage. The CSS preprocessor is here to help. SASS lets you use features that do not exist in CSS, such as variables, nesting, mixins (blending), inheritance, and some other good features that will make it more interesting to write CSS.Understanding variablesThink of it. If you use a variable to store information and then reuse the variable repeatedly in the stylesheet, you can store t
This CSS3 icon navigation: mainly applies the border-radius,transition,font-face. First set a width and set overflow to hidden, then mouse over with transition to change its width to display the text Information section. As for the three icons, the first two were made for Font-face, the latter for the picture.
HTML code:
CSS code:
* {margin:0;padding:0;} #header {text-align:center;height:30px;background: #444;} #header a {color: #fff; font:100 14px/30px He
,helvetica,sans-serif;font-size:1.1em;}
7. Sort your CSS Code
If the attributes in your code are sorted alphabetically, it's quicker to find the changes:
/*** Style Properties Alphabetically ***/
div{
Background-color: #3399cc;
Color: #666;
Font:1.2em/1.4emarial,helvetica,sans-serif;
height:300px;
margin:10px5px;
padding:5px010px5px;
width:30%;
Z-index:10;
}
8. Keep the CSS readable
Writing a readable
introducing bootstrap.min.js, you need to introduce jquery.js In order for Bootstrap to develop a website that is mobile-friendly, to ensure proper drawing and touch-screen scaling, you need to add in the head of the page viewport meta Tags: The Width property controls how wide the device is. Assuming your site will be browsed by a device with a different screen resolution, setting it to Device-width will ensure that it renders correctly on different devices. initial-scale=1.0 e
/wiki.php/api4:method.tinymce.Editor.setContentHttp://www.tinymce.com/wiki.php/API3:method.tinymce.Editor.setContent4. For custom deployment TinyMCE (CSS, JS script not the same document)Highly recommended reference: Http://www.tinymce.com/wiki.php/Configuration1Tinymce.init ({2Selector: ' Textarea#elm1 ',3Language: "ZH_CN",4height:400,5Skin_url: "/content/tinymce",//define the external skin style, the original file skins-lightgray/the contents of the document to be copied, including CSS and fon
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.