You can change that to pre, which
prints the text exactly as it is formatted in the source, or nor rap, which
leaves out the line breaks.
If you don’t like any of the bullet
styles used in unordered lists, you can substitute an image of your own
choosing in place of them. To do so , use the list-style image property .by
setting this property, you can use an image of your choosing for the bullets in
your lists. Here’s an example.
<u1> style =”list – image:
ur1 (/bullet. gif)”>
<1i> example </1i>
</u1>
Don’t worry much about what this
all means right now. I’ll discuss images later I n lesson 7, “adding, images,
color, and backgrounds.” Right now, all you need to know is that the URL in
parentheses should point to the image you want to use.
As you’ve seen in the screenshots
so far, when items are formatted in a list and the list item spans more than
one line, the lines o text that follow the first are aligned with the beginning
of the text of the first line. If you prefer that they begin at the position of
the bullet or list m\number, use the list-style-position property.
(u1 style =”list – style-position:
inside”>
(1i> example </1i>
</u1>
The default value is outside, and
the only alternative is inside. Finally, if you want to modify several
list-related properties at one, you can simply use the list-style property. You
can specify three values for list-style: the list style type, the list style
position, and the URL of the image to be used as the bulled style. This
property is just a shortcut for use if you want to manipulate several of
theist-related properties at once. Here’s an example:
<u1 style = “list-style: circle
inside URL (/bullet.gif)”>
</u1>
Bear in mind that not all browsers
support the manipulation of these properties- in particular, older browsers
almost certainly don’t.
No comments:
Post a Comment