D
Dan V.
How do you have two different types of unordered lists in HTML on the same
page? I tried these ways shown below.
I would like to have the regular list with a 1/2 inch indent and one with a
1/8 inch indent on the same page.
Thanks,
<HTML>
<TITLE>Bach's home page</TITLE>
<STYLE TYPE="text/css">
BODY {
background: url(texture.gif) white;
color: black
}
UL {
font-style: italic;
font-weight: bold;
}
UL.indent {
margin-left: -24;
Left:-5;
}
</STYLE>
<BODY>
<H1>Bach's <EM>home</EM> page</H1>
<P>Johann Sebastian Bach was a prolific composer.
<p>The background colour is white in case the background gif image is
not
present. (Background does not inherit)</p>
<p>Inheritance Examples: </p>
<p>Body -> Headings, Paragraph -> Strong</p>
<p>Body-> Unordered List -> List</p>
<ul>
<li>line 1</li>
<li>line 2</li>
</ul>
<ul style="margin-Left:-24">
<li>line 3</li>
<li>line 2</li>
</ul>
<ul class="Indent">
<li>line 1</li>
<li>line 2</li>
</ul>
</BODY>
</HTML>
page? I tried these ways shown below.
I would like to have the regular list with a 1/2 inch indent and one with a
1/8 inch indent on the same page.
Thanks,
<HTML>
<TITLE>Bach's home page</TITLE>
<STYLE TYPE="text/css">
BODY {
background: url(texture.gif) white;
color: black
}
UL {
font-style: italic;
font-weight: bold;
}
UL.indent {
margin-left: -24;
Left:-5;
}
</STYLE>
<BODY>
<H1>Bach's <EM>home</EM> page</H1>
<P>Johann Sebastian Bach was a prolific composer.
<p>The background colour is white in case the background gif image is
not
present. (Background does not inherit)</p>
<p>Inheritance Examples: </p>
<p>Body -> Headings, Paragraph -> Strong</p>
<p>Body-> Unordered List -> List</p>
<ul>
<li>line 1</li>
<li>line 2</li>
</ul>
<ul style="margin-Left:-24">
<li>line 3</li>
<li>line 2</li>
</ul>
<ul class="Indent">
<li>line 1</li>
<li>line 2</li>
</ul>
</BODY>
</HTML>