16-11-08

Source: Internet
Author: User

Today's learning content is broadly divided into two parts: 1. The making of Tian Zi ge 2. Some new commands that are exposed during the editing of the article paragraph include:<border> borders, <margin> outline, <padding> padding, break, <&nbsp> spaces, <border-radius> fillet, <text-indent> indent.

1. Tian GE code details


<title> Tian Zi ge </title>

<style>

#all {

width:450px;

height:450px;

/* Outer margin */

margin:0px Auto;

}

. a{

width:200px;

height:200px;

Background-color: #00FF00;

Float:left;

margin:10px;

} </style>

<body>

<div id= "All" >

<div class= "A" id= "first" ></div>

<div class= "A" id= "second" ></div>

<div class= "A" id= "third" ></div>

<div class= "a" id= "fourth" ></div>

</div>

</body>


By creating a small div in a large div, control the small div floating in the large div to reach the field, and then by adjusting the <nargin> of the big Div, you can adjust the location of the field in the Web page.


2. Editing of article passages

The article paragraph and the article title is established in the <body>, may use the different font size

But this form of creating a paragraph does not generate a space indent before the paragraph, you need to enter the <&nbsp> command before the paragraph this represents a space, or you can edit <style> command input in

Today's learning personal feeling more relaxed and interesting, to learn in the operation of the extrapolate, there will be a great improvement, hope in the next study, continue to maintain a good state.

16-11-08

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.