CSS Basics (1)

Source: Internet
Author: User
Tags dashed line

CSS can make the page more beautiful, 16 is the most common way to set the color value, will be three between the hexadecimal number of 00-ff to connect, if the 16 in the 3 groups of pairs, it can be shortened to 3 bits. Such as:Scrollbar-3dlight-color:#999;Scrollbar-darkshadow-color:#999;Scrollbar-highlight-color:#fff;Scrollbar-shadow-color:#eee;Scrollbar-arrow-color:#000;Scrollbar-face-color:#ddd;Scrollbar-track-color:#eee;Scrollbar-base-color:#ddd;
Rows: Number of rows in a multiline input field.

CSS style width and height to replace: col with width, row with height to replace
Type: Control is a radio box when type= "Radio"

When type= "checkbox", the control is a check box
Value: Submit data to server values (background program PHP use)
Name: Name the control for the background program ASP, PHP use
Checked: This option is selected by default when checked= "checked" is set
Type: The button has a commit function only if the type value is set to submit

Value: The text displayed on the button
font-size:12px;/* Set Text Size */
color:red;/* Set Text color */
font-weight:bold;/* Setting Font Bold *
Row Height Property (line-height)
You can use letter-spacing to implement text intervals or letter intervals
Div{text-align:center;} Center horizontally
Div{text-align:left;} Horizontal left
Div{text-aling:right} Horizontal Right
<div>, <p>, Common styles for Border-style (border styles) are:

Dashed (dashed line) | Dotted (point line) | Solid (solid line).

There are three layout models of elements:
1. Flow model
2. Floating model (float)
3. Layers Model (layer)
There are three forms of the layer model:

1. Absolute positioning (Position:absolute)

2. Relative positioning (position:relative)

CSS Basics (1)

Large-Scale Price Reduction
  • 59% Max. and 23% Avg.
  • Price Reduction for Core Products
  • Price Reduction in Multiple Regions
undefined. /
Connect with us on Discord
  • Secure, anonymous group chat without disturbance
  • Stay updated on campaigns, new products, and more
  • Support for all your questions
undefined. /
Free Tier
  • Start free from ECS to Big Data
  • Get Started in 3 Simple Steps
  • Try ECS t5 1C1G
undefined. /

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.