Node chat program instance 05: index.html and style.css,nodestyle.css
Author: vousiu
Source: http://www.cnblogs.com/vousiu
For this example, refer to Node. js in Action by Mike Cantelon and others.
Index.html
Style.css
body { padding: 50px; font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;} a { color: #00B7FF;} #content { width: 800px; margin-left: auto; margin-right: auto;} #room { bac
-color: #000;
It can be abbreviated as border: 1px solid #000;
Syntax: border: width style color;Background (Backgrounds)
The attributes of the background are as follows:
Background-image: url(background.gif );
Background-repeat: no-repeat;
Background-attachment: fixed;
Background-position: 0 0;
It can be abbreviated as: background: # f00 url(background.gif) no-repeat fixed 0 0;
The syntax is background: color image repeat attachment position;
You can omit one or more attribute values.
are as follows:
Border-width: 1px;Border-style: solid;Border-color: #000;It can be abbreviated as border: 1px solid #000;
Syntax: border: width style color;
Background (Backgrounds)The attributes of the background are as follows:
Background-color: # f00;Background-image: url(background.gif );Background-repeat: no-repeat;Background-attachment: fixed;Background-position: 0 0;It can be abbreviated as: background: # f00 url(background.gif) no-repeat fixed 0 0;
The syntax is background: color image
First, define the style of the whole page body. The Code is as follows:
Body {margin: 0px;
Padding: 0px;
Background: URL (../images/bg_logo.gif) # fefefefe no-repeat right bottom;
Font-family :\\\ 'lucida Grande \\\ ', \\\ 'lucida sans Unicode \\\', \\\ '\\\', \\\' \\\ ', Arial, verdana, sans-serif;
Color: #666;
Font-
CKEditor finderphp integration PHP implementation file upload
File directory:
Configure Ckeditor/config.js
Config.font_names = ' song body; italics _gb2312; new song body; bold; official script; Young circle; Microsoft Jas Black; Arial; Comic Sans MS; Courier New; Tahoma; Times New Roman; Verdana; " Lucida Sans Unicode ","
(backgrounds)The properties of the background are as follows:background-Image:url (background.gif); Background-repeat:no-repeat; Background-attachment:fixed; Background-position:00;can be abbreviated as a sentence:fixed 0 0;The syntax is Background:color image repeat attachment position;You can omit one or more of the property values, and if omitted, the value of the property will be the default value of the browser, which is:0 0%Font (Fonts)The properties of the font are as follows: font-st
solid #000;The grammar is border:width style color;Background (backgrounds)The properties of the background are as follows:
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
can be abbreviated as a sentence: background: #f00 URL (background.gif) no-repeat fixed 0 0;The syntax is background:color image repeat attachment position;You can omit one or more of the property values, and if omitted,
, this cannot be abbreviated here.
margin:1px 2px 1px 3px;
Two, border (border)
The properties of the border are as follows:
border-width:1px;
Border-style:solid;
Border-color: #000;
can be abbreviated as a sentence:
border:1px solid #000;
Syntax border:width style color;
Iii. Background (backgrounds)
The properties of the background are as follows:
Background-color: #f00;
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
Background-
Google is the Ajax special effects used incisively and vividly, Google suggest, Google Map,igoogle can drag windows and so on ... Today to do a similar effect of a Web site, modeled on IGoogle did a simple demo.
This demo is made directly from a jquery framework: Easywidgets. This framework is available for free download of http://plugins.jquery.com/project/easywidgets.
Nonsense will not say more, directly to the source code posted out, let everyone learn!Html
CSS
body{margin:
sentence: border:1px solid #000;
Grammar is border:width style color;
Background (backgrounds)
The properties of the background are as follows:
Background-color: #f00;
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
can be abbreviated to one sentence: background: #f00 URL (background.gif) no-repeat fixed 0 0;
The grammar is Background:color image repeat attachment position;
You can omit one or more o
(border)The properties of the border are as follows:border-width:1px;Border-style:solid;Border-color: #000;can be abbreviated as one sentence: border:1px solid #000;Grammar is border:width style color;Background (backgrounds)The properties of the background are as follows:Background-color: #f00;Background-image:url (background.gif);Background-repeat:no-repeat;background-attachment:fixed;background-position:0 0;can be abbreviated to one sentence: background: #f00 URL (background.gif) no-repeat f
Native matplotlib does not support direct use of Chinese characters. Instead, you need to modify the corresponding files and search for them online to find the most concise method.
No.1
Find the matplotlibrc File
C: \ python26 \ Lib \ Site-packages \ matplotlib \ MPL-data \ matplotlibrc (Windows)
/Usr/share/matplotlib/MPL-data/matplotlibrc (Linux)
No. 2
Find the following two items and remove #
Font. Family: sans-serif
Font.
Verdana-chubby, founder
Trebuchet MS-unique italic in Web security fonts
Application in Design
Some designers have a certain kind of emotion and some people blog for it.Someone uses it to design a T-shirt, and some people print it on their bodies. Below are some examples in real life:
Use in Design
Whether it's web design or graphic design, it will add some taste and feeling in your design, and it will bring people an impression of graphics. Italics looks more formal a
I divide the Forum homepage into header area, information area, content area, footer area. First of all with a large div to include these, mainly in view of the overall adjustment of the page is convenient, such as to adjust to widescreen or narrow screen, as long as the setting of this large div can be.
First put the code out, for friends to debug use.
Css:
Copy Code code as follows:
/* CSS Document * *
body{
Background-color: #F5F5F5;
margin:0;
padding:0;
font-family: "
This is the 100 best fonts ever selected by the German fontshop website.Based on three criteriaSales volume (weight 40%), historical value (weight 30%), and aesthetic value (30%). At the same time, all fonts that participate in the selection are commercial fonts and do not contain free fonts, OS built-in font, and thatFonts used in some standard software (Arial, verdana, etc ). For a list of detailed results, see German version 100 Best fonts (PDF ).
Top 30 optimal Fonts
100 Best fonts (includin
properties in common, you can use group selectors to avoid repeating definitions multiple times. This can save a lot of bytes.For example: Define the font, color, and margin for all headings, as you can write:H1,h2,h3,h4,h5,h6 {font-family: "Lucida Grande", Lucida,arial,helvetica,sans-serif;Color: #333;Margin:1em 0;}If you have an individual element that needs t
attributes, you can use the group selector to avoid repeated definitions multiple times. This can save a lot of bytes.
For example, to define the font, color, and margin of all titles, you can write as follows:
H1, h2, h3, h4, h5, h6 {
Font-family: "Lucida Grande", Lucida, Arial, Helvetica, sans-serif;
Color: #333;
Margin: 1em 0;
}
If an independent style needs
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.