Objective:In Sunday, there was a seniors looking for me to help do three pages, because there is no data exchange and so on, just the front page, thinking of a long time not to do things, reading are tired, so it is practiced hand. Before because
Personal use of the process to save some experience using Phpexcel, in order to later flip through:
Combined with the PHP yii framework, it's easy to use. And do not have to say on the Internet to modify Yii automatic loading files and other methods.
-only attributes for block-level elements
Width,height (These two can be used to replace elements)
Text-align, Text-indent, Vertical-align (also available for table cells and replacement elements such as INPUT/IMG)
Background-position (Note the
This article for you to organize four kinds of CSS to achieve vertical center effect, the idea is very good, with reference value, need to refer to the friend
Row height Line-height for vertical centering of single-line text
It used to be that
One, single-line text vertical center:The height of the line whose text is set is equal to the line-height of its parent container. Such as Text Vertical Center As followsSecond, the positioning of the box to achieve vertical centering method
Font: inherit, fontinheritFont: Set the font of all elements to be consistent:
All elements: * {font: inherit;}/* IE8 + */
Body uses percent: body {font: 100%/1 sans-serif ;}
Other use em: div {font-size: 1.2em ;}
Refer:
Because the project needs to make a line chart, according to the date to show the corresponding results, so this article.Used once Xcl-chart, but the feeling is only suitable for fixed charts, not to slide the kind, because you slip too card you
1. Problem : The phone-side click event will have a delay of about 300MScause : The phone-side event Touchstart-->touchmove-->touchend or Touchcancel-->click, because after the touch event is triggered, The browser to determine whether the user will
PX: Relative to the display screen resolutionEM: The font size relative to the parent elementREM: Font size relative to root node (i.e. HTML tag)Browser default font Size: 16px{font-size:62.5%; /* 10÷16x100% = 62.5% is only convenient for
# #块级元素 # #| element | description ||--|--||h1-h6| Title ||div| Distinguishing Large Modules ||p| Paragraph ||ul>li| unordered List ||ol>li| ordered list ||dl>dt dd| Custom List ||table>tr td| Form |# # #块级元素的特点 # #-Exclusive line, from top down-You
Nonsense not to say more, directly to everyone to paste the code, the specific code as follows:
Package com.example.yanlei.yl4;
Import Android.graphics.Color;
Import Android.os.Bundle;
Import android.support.v7.app.AppCompatActivity;
Import
Object applies mapobjects in C # (layer callout)
Summary: Mapobjects CSharp. NET
Author: Yang Yutin Blue_Bat@126.Com
In MO automatic annotation needs to use the Labelrenderer object, the general annotation process needs to set a suitable font,
Common HTML tags and html tags
First, you need to know some features of html tags:
1. Similar to "", it is composed of angle brackets, such as , ......
2. generally, it appears in pairs. The start label is similar to " element content ". The left
(1) The difference between Uitextview and Uitextfield can (simply) be understood as, the former is a region can write a lot of things have a newline scroll bar god horse, the latter only a line of text, similar to the HTML inside the textarea and
Android the PX , Dip , SP the DifferenceWe often set the length of the container in the layout of the page, but it is annoying to use which unit is the length.There are several types of description size areas that are supported in Android:PX (pixels)
These days in the imitation of Sina Weibo client, in the processing of micro-blog information need to deal with the keyword highlighting and Weibo expression, check some information, decided to record somethingFirst look at the following:Like the
1) prior to iOS 7 there was also a technique for text typesetting and rendering--core text, and the introduction of text kit was not intended to replace the Core text. The Core text is a face???? Layer of text typesetting and rendering techniques,
Because the company project requirements are compatible to IE6, which encountered a lot of CSS compatibility issues, so in the blog summary down, later in the project encountered new compatibility issues, will also be updated here.1.ie6 the Height
var cvs = document.getElementById ("CVS");Get context Environmentvar con = cvs.getcontext ("2d");Create a new pathCon.beginpath ();Set the color of a lineCon.strokestyle = "Pink";Set line widthCon.linewidth = 5;Where to start drawingCon.moveto (0,0);
Css attribute abbreviation set, css abbreviation set
As a front-end attacker, CSS is definitely the foundation, but it is also difficult to grasp the foundation. Today, we will summarize the simplified CSS attributes that are easy to write
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.