Using abbreviations can help reduce the size of your CSS files and make them easier to read. The main rules for CSS abbreviations are as follows:
Color
16 binary color values, if each two bits of the same value, can be shortened by half, for
Inadvertently found that, for the same HTML markup, the CSS in the same time when the font and Line-height attributes, you have to be careful, the two are written in a different order, resulting in a difference in the display effect.
That
>>> If you
CSS Properties-White-space Blank Property Description
This CSS property is used to handle whitespace.
Value: Normal | Pre | nowrap | Inherit
Description of available value values
Normal default value. Text is wrapped in a natural line. If the
IFrame applications are common and typically require two types of requirements:
1, get the IFRAME effect, is to bring a scroll bar, you can save a lot of layout.
2, to embed a page, to implement the framework link.
If the IFRAME is not easy to use,
Very depressed problem, look at the original code I wrote:
Untitled document
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
Actually appeared the horizontal scroll bar, the question
ScrollHeight: Gets the scroll height of the object.
ScrollLeft: Sets or gets the distance between the left edge of the object and the leftmost of the currently visible content in the window
ScrollTop: Sets or gets the distance between the top of
Recently in the Web site encountered a problem: I use the UL tag and the Li tag to build the navigation bar to be unsure of the number of Li and Li, ul width of the case of the center, but to UL used Text-align:center but did not play its due effect.
About the underline in hyperlinks this and the details of the problem, presumably everyone has discussed and thought, we all know, grasp a principle can: "Let users clearly distinguish between hyperlink text and other text forms, and subconscious
Return 90 or 180 degrees should be interpreted as "flip 90 or 180 degrees" and flip the filter FLIPH,FLIPV with a mirror.
A table is not moving.
A simple form
Table flipped horizontally along the x-axis (90 degrees)
Basic frame structure of common div+css but it's not recommended to put a div in it.
CSS style code:
Program code
Copy CodeThe code is as follows:
/*---global style---*/
* {margin:0px; padding:0px;}
Body {Font-family:verdana, Arial, Helvetica, Sans-
XHTML is an English abbreviation for Extensible Hypertext Markup Language, which expands the Hypertext Markup Language.
The XHTML language is a markup language that does not require editing and can be executed directly by the browser.
XHTML was
Super recommended CSS to create classic mouse trigger display options
PHP code
css create mouse trigger effect What to look for Accounting Web Design Translations Tutor more >> there Beijing Shanghai
An effect of the navigation bar DIV+CSS
Apply now to the guest site!
Copy CodeThe code is as follows:
Find a Job
Find a House
Bicycle Trading
Take a car for a job
Carpool commute
One, type selector
Body
{
font-size:12px;
}
{
Color:blue;
}
A selector for the name of a label type already in the Web page, as indicated above: All text size within the body tag is 12px, and the text color in the paragraph is blue.
Second, group
The label label in the HTML, the non-contact standard is afraid to be more unfamiliar. Even when exposed to the standard, many people just use it as a container to explain the elements in the form. The concept of things I do not here, I am
using CSS + tags to complete a triangle production m One m two m three m Four
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
A long time ago, when there is no DW, we will have a grayscale connection.
Untitled document
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
Feel with UL and Li somewhat similar, but also is a kind of new idea, source code is as follows:
dl,dt,dd made CSS vertical menu Gallery paul Cezan Ne henri matisse vincent van gogh William Turner john constable claude monet
[Ctrl
See the share: Absolutely classic pulley news display (JAVASCRIPT+CSS) This post, are Css+js Control Classic, in fact, a single CSS can be done, just to be compatible with the garbage IE to not do a JS, the following code if you remove the JS part
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