css margin-left property


  Translation results:

margin

English [ˈmɑ:dʒɪn] American [ˈmɑ:rdʒən]

n. Edge, range; limit; profit, surplus; (outside the version) ) of the blank

vt. Leave a margin; become the side of...; add a margin to, surround; add a margin for...

Plural: margins

left

UK[left] 美[lɛft]

adj.Left, left;leftist

n.Left, left;[Army]left wing; Leftist, radical

adv. to the left; on the left

v. to leave (past tense and past participle of leave)

Plural: lefts

css margin-left propertysyntax

Function: Set the left margin of the element.

Note: Negative values ​​are allowed.

Note: All major browsers support the margin-left attribute.

css margin-left propertyexample

<html>
<head>
<style type="text/css">
p.leftmargin {margin-left: 20px}
</style>
</head>

<body>
<p>这个段落没有指定外边距。</p>
<p class="leftmargin">这个段落带有指定的左外边距。</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A