User:Verisimilar: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) (New page: Work in progress. Building HTML/CSS information here. A lot of this information can be found elsewhere on the internet, but it shouldn't hurt to have it here. Possible name: Supported HT...) |
Verisimilar (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
===Font Elements=== | ===Font Elements=== | ||
==CSS== | ---- | ||
---- | |||
---- | |||
---- | |||
==BEGIN CSS PAGE/SECTION== | |||
---- | |||
---- | |||
---- | |||
---- | |||
MapTool supports a subset of the CSS level 1 specification. These styles can be used in-line, and also as external styles within dialogs and frames. This is not meant to be an exhaustive reference, nor an introduction to CSS, this page is only a collection of which properties are supported and to what extent. | MapTool supports a subset of the CSS level 1 specification. These styles can be used in-line, and also as external styles within dialogs and frames. This is not meant to be an exhaustive reference, nor an introduction to CSS, this page is only a collection of which properties are supported and to what extent. | ||
==Font Properties== | ==Font Properties== | ||
===font=== | ===font=== | ||
{| | {| | ||
|'''Value:'''||font-style, font-weight, font-size, font-family | |'''Value:'''||font-style, font-weight, font-size, font-family | ||
Line 41: | Line 47: | ||
|- | |- | ||
|'''Relative Size:'''|| only font-size | |'''Relative Size:'''|| only font-size | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
font: bold italic 12pt Arial, Helvetica, sans-serif; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===font-family=== | ===font-family=== | ||
{| | {| | ||
|'''Value:'''||family-name, generic-name | |'''Value:'''||''family-name'', ''generic-name'' | ||
|- | |- | ||
|'''Initial:'''|| system default | |'''Initial:'''|| system default | ||
Line 58: | Line 66: | ||
|- | |- | ||
|'''Relative Size:'''|| N/A | |'''Relative Size:'''|| N/A | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
font-family: Arial, Helvetica, sans-serif; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===font-size=== | ===font-size=== | ||
{| | {| | ||
|'''Value:'''||absolute-size, relative-size, length, percentage | |'''Value:'''||''absolute-size'', ''relative-size'', ''length'', ''percentage'' | ||
|- | |- | ||
|'''Initial:'''|| medium | |'''Initial:'''|| medium | ||
Line 72: | Line 85: | ||
|- | |- | ||
|'''Relative Size:'''|| Yes, relative to parent element's font-size | |'''Relative Size:'''|| Yes, relative to parent element's font-size | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
font-size: 12pt; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===font-style=== | ===font-style=== | ||
{| | {| | ||
|'''Value:'''||normal, italic, oblique | |'''Value:'''||normal, italic, oblique | ||
Line 86: | Line 104: | ||
|- | |- | ||
|'''Relative Size:'''|| N/A | |'''Relative Size:'''|| N/A | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
font-style: italic; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===font-weight=== | ===font-weight=== | ||
{| | {| | ||
|'''Value:'''||normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900 | |'''Value:'''||normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900 | ||
Line 100: | Line 123: | ||
|- | |- | ||
|'''Relative Size:'''|| N/A | |'''Relative Size:'''|| N/A | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
font-weight: bold; | |||
</source> | |||
|} | |} | ||
==Color and Background Properties== | ==Color and Background Properties== | ||
===color=== | ===color=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''color name'', ''color code'' | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| element specific | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
|- | |- | ||
|'''Inherited:'''|| | |'''Inherited:'''|| yes | ||
|- | |||
|'''Relative Size:'''|| N/A | |||
|- | |- | ||
|''' | |'''Example:'''|| | ||
<source lang="css"> | |||
color: #FF0000; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===background=== | ===background=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||background-color, background-image, background-repeat, background-position | ||
|- | |- | ||
|'''Initial:'''|| none | |'''Initial:'''|| none | ||
Line 128: | Line 161: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
background: #0000FF url(image.jpg) no-repeat right top; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===background-color=== | ===background-color=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''color name'', ''color code'' | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| transparent | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 142: | Line 180: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| N/A | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
background-color: #0000FF; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===background-image=== | ===background-image=== | ||
{| | {| | ||
|'''Value:'''||none, | |'''Value:'''||none, ''url'' | ||
|- | |- | ||
|'''Initial:'''|| none | |'''Initial:'''|| none | ||
Line 156: | Line 199: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| N/A | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
background-image: url(image.jpg); | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===background-repeat=== | ===background-repeat=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||repeat, repeat-x, repeat-y, no-repeat | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| repeat | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 170: | Line 218: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| N/A | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
background-repeat: no-repeat; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===background-position=== | ===background-position=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||top, center, bottom, left, center, right | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| top left | ||
|- | |- | ||
|'''Applies To:'''|| | |'''Applies To:'''|| block-level and replaced elements | ||
|- | |- | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |- | ||
|''' | |'''Example:'''|| | ||
<source lang="css"> | |||
background-position: bottom right; | |||
</source> | |||
|} | |} | ||
==Text Properties== | ==Text Properties== | ||
===text-align=== | ===text-align=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||left, right, center | ||
|- | |||
|'''Initial:'''|| element specific | |||
|- | |- | ||
|''' | |'''Applies To:'''|| block-level elements | ||
|- | |- | ||
|''' | |'''Inherited:'''|| yes | ||
|- | |- | ||
|''' | |'''Relative Size:'''|| N/A | ||
|- | |- | ||
|''' | |'''Example:'''|| | ||
<source lang="css"> | |||
text-align: right; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===text-decoration=== | ===text-decoration=== | ||
{| | {| | ||
|'''Value:'''||none, | |'''Value:'''||none, underline, line-through | ||
|- | |- | ||
|'''Initial:'''|| none | |'''Initial:'''|| none | ||
Line 227: | Line 276: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
text-decoration: line-through; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===vertical-align=== | ===vertical-align=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||baseline, sub, super | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| baseline | ||
|- | |- | ||
|'''Applies To:'''|| | |'''Applies To:'''|| inline elements | ||
|- | |- | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
vertical-align: super; | |||
</source> | |||
|} | |} | ||
==Box Properties== | ==Box Properties== | ||
===border-style=== | ===border-style=== | ||
{| | {| | ||
|'''Value:'''||none | |'''Value:'''||none, inset, outset | ||
|- | |- | ||
|'''Initial:'''|| none | |'''Initial:'''|| none | ||
Line 256: | Line 315: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| N/A | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
border-style: inset; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===margin=== | ===margin=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'', auto | ||
|- | |- | ||
|'''Initial:'''|| none | |'''Initial:'''|| none | ||
Line 270: | Line 334: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
margin: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===margin-top=== | ===margin-top=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'', auto | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| 0 | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 284: | Line 353: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
margin-top: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===margin-right=== | ===margin-right=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'', auto | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| 0 | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 298: | Line 372: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
margin-right: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===margin-bottom=== | ===margin-bottom=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'', auto | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| 0 | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 312: | Line 391: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
margin-bottom: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===margin-left=== | ===margin-left=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'', auto | ||
|- | |||
|'''Initial:'''|| 0 | |||
|- | |||
|'''Applies To:'''|| all elements | |||
|- | |- | ||
|'''Initial:'''|| | |'''Inherited:'''|| no | ||
|- | |||
|'''Relative Size:'''|| no | |||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
margin-left: 10px; | |||
</source> | |||
|} | |||
---- | |||
===padding=== | |||
{| | |||
|'''Value:'''||''length'' | |||
|- | |||
|'''Initial:'''|| 0 | |||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 326: | Line 429: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
padding: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===padding-top=== | ===padding-top=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'' | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| 0 | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 340: | Line 448: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
padding-top: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===padding-right=== | ===padding-right=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'' | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| 0 | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 354: | Line 467: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
padding-right: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===padding-bottom=== | ===padding-bottom=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'' | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| 0 | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 368: | Line 486: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
padding-bottom: 10px; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===padding-left=== | ===padding-left=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||''length'' | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| 0 | ||
|- | |- | ||
|'''Applies To:'''|| all elements | |'''Applies To:'''|| all elements | ||
Line 382: | Line 505: | ||
|'''Inherited:'''|| no | |'''Inherited:'''|| no | ||
|- | |- | ||
|'''Relative Size:'''|| | |'''Relative Size:'''|| no | ||
|- | |||
|'''Example:'''|| | |||
<source lang="css"> | |||
padding-left: 10px; | |||
</source> | |||
|} | |} | ||
==Classification Properties== | ==Classification Properties== | ||
===list-style-type=== | ===list-style-type=== | ||
{| | {| | ||
|'''Value:'''||none, | |'''Value:'''||none, disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha | ||
|- | |- | ||
|'''Initial:'''|| | |'''Initial:'''|| disc | ||
|- | |||
|'''Applies To:'''|| list-item elements | |||
|- | |- | ||
|''' | |'''Inherited:'''|| yes | ||
|- | |- | ||
|''' | |'''Relative Size:'''|| N/A | ||
|- | |- | ||
|''' | |'''Example:'''|| | ||
<source lang="css"> | |||
list-style-type: square; | |||
</source> | |||
|} | |} | ||
---- | ---- | ||
===list-style-position=== | ===list-style-position=== | ||
{| | {| | ||
|'''Value:'''|| | |'''Value:'''||inside, outside | ||
|- | |||
|'''Initial:'''|| outside | |||
|- | |- | ||
|''' | |'''Applies To:'''|| list-item elements | ||
|- | |- | ||
|''' | |'''Inherited:'''|| yes | ||
|- | |- | ||
|''' | |'''Relative Size:'''|| N/A | ||
|- | |- | ||
|''' | |'''Example:'''|| | ||
<source lang="css"> | |||
list-style-position: inside; | |||
</source> | |||
|} | |} |
Revision as of 20:03, 5 March 2009
Work in progress.
Building HTML/CSS information here. A lot of this information can be found elsewhere on the internet, but it shouldn't hurt to have it here.
Possible name: Supported HTML and CSS
Possible location: unknown, I'll ask Craig
HTML
Short intro goes here.
Unless otherwise noted, relative units(i.e. 50%) are not supported.
Top-level Elements
Head Elements
Block-level Elements
List Elements
Table Elements
Form Elements
Font Elements
BEGIN CSS PAGE/SECTION
MapTool supports a subset of the CSS level 1 specification. These styles can be used in-line, and also as external styles within dialogs and frames. This is not meant to be an exhaustive reference, nor an introduction to CSS, this page is only a collection of which properties are supported and to what extent.
Font Properties
font
Value: | font-style, font-weight, font-size, font-family |
Initial: | none |
Applies To: | all elements |
Inherited: | yes |
Relative Size: | only font-size |
Example: |
font: bold italic 12pt Arial, Helvetica, sans-serif;
|
font-family
Value: | family-name, generic-name |
Initial: | system default |
Applies To: | all elements |
Inherited: | yes |
Relative Size: | N/A |
Example: |
font-family: Arial, Helvetica, sans-serif;
|
font-size
Value: | absolute-size, relative-size, length, percentage |
Initial: | medium |
Applies To: | all elements |
Inherited: | yes |
Relative Size: | Yes, relative to parent element's font-size |
Example: |
font-size: 12pt;
|
font-style
Value: | normal, italic, oblique |
Initial: | normal |
Applies To: | all elements |
Inherited: | yes |
Relative Size: | N/A |
Example: |
font-style: italic;
|
font-weight
Value: | normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900 |
Initial: | normal |
Applies To: | all elements |
Inherited: | yes |
Relative Size: | N/A |
Example: |
font-weight: bold;
|
Color and Background Properties
color
Value: | color name, color code |
Initial: | element specific |
Applies To: | all elements |
Inherited: | yes |
Relative Size: | N/A |
Example: |
color: #FF0000;
|
background
Value: | background-color, background-image, background-repeat, background-position |
Initial: | none |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
background: #0000FF url(image.jpg) no-repeat right top;
|
background-color
Value: | color name, color code |
Initial: | transparent |
Applies To: | all elements |
Inherited: | no |
Relative Size: | N/A |
Example: |
background-color: #0000FF;
|
background-image
Value: | none, url |
Initial: | none |
Applies To: | all elements |
Inherited: | no |
Relative Size: | N/A |
Example: |
background-image: url(image.jpg);
|
background-repeat
Value: | repeat, repeat-x, repeat-y, no-repeat |
Initial: | repeat |
Applies To: | all elements |
Inherited: | no |
Relative Size: | N/A |
Example: |
background-repeat: no-repeat;
|
background-position
Value: | top, center, bottom, left, center, right |
Initial: | top left |
Applies To: | block-level and replaced elements |
Inherited: | no |
Relative Size: | no |
Example: |
background-position: bottom right;
|
Text Properties
text-align
Value: | left, right, center |
Initial: | element specific |
Applies To: | block-level elements |
Inherited: | yes |
Relative Size: | N/A |
Example: |
text-align: right;
|
text-decoration
Value: | none, underline, line-through |
Initial: | none |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
text-decoration: line-through;
|
vertical-align
Value: | baseline, sub, super |
Initial: | baseline |
Applies To: | inline elements |
Inherited: | no |
Relative Size: | no |
Example: |
vertical-align: super;
|
Box Properties
border-style
Value: | none, inset, outset |
Initial: | none |
Applies To: | all elements |
Inherited: | no |
Relative Size: | N/A |
Example: |
border-style: inset;
|
margin
Value: | length, auto |
Initial: | none |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
margin: 10px;
|
margin-top
Value: | length, auto |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
margin-top: 10px;
|
margin-right
Value: | length, auto |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
margin-right: 10px;
|
margin-bottom
Value: | length, auto |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
margin-bottom: 10px;
|
margin-left
Value: | length, auto |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
margin-left: 10px;
|
padding
Value: | length |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
padding: 10px;
|
padding-top
Value: | length |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
padding-top: 10px;
|
padding-right
Value: | length |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
padding-right: 10px;
|
padding-bottom
Value: | length |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
padding-bottom: 10px;
|
padding-left
Value: | length |
Initial: | 0 |
Applies To: | all elements |
Inherited: | no |
Relative Size: | no |
Example: |
padding-left: 10px;
|
Classification Properties
list-style-type
Value: | none, disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha |
Initial: | disc |
Applies To: | list-item elements |
Inherited: | yes |
Relative Size: | N/A |
Example: |
list-style-type: square;
|
list-style-position
Value: | inside, outside |
Initial: | outside |
Applies To: | list-item elements |
Inherited: | yes |
Relative Size: | N/A |
Example: |
list-style-position: inside;
|