quote:
Originally posted by Madman
code:
list-style-type: none;
apply that to the ul element that contains the li's
only since HTML version
whatever. In other words, not all browsers might support it.
Note: you don't need to create a stylesheet only for that. the
type= is a supported element of the <ul> or <ol> tags. For <ul> it can be "disc", "circle", "square" (these are the only totally all-round supported values. any other value requires a higher version of HTML or whatever). For <ol>, the value of
type= can be "A", "a", "I", "i", or "1" (again, these are the only basic totally all-round supported values, unless your page is in HTML version
whatever)
The syntax for normal lists is:
<ul>
<li>
<li>
<li>
</ul>
Or instead of <ul> (unordered list) use <ol> (ordered list). Those lists always have idents in the form of bullets, numbers, etc...
To have the same effect but without the bullets, numbers, etc, you need to create a definition list instead of a normal list:
<dl>
<dt>
<dd>
</dl>
Where <dt> is the term being used in the definition and <dd> the definition itself. They have the same ident as in a normal list.
Thus all this can be done with normal basic HTML which every browser understands, no stylesheet manipulation or anything fancy is needed...