469,900 Members | 1,716 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,900 developers. It's quick & easy.

customizing unordered lists

Hi,

On both Firefox and IE, how can I replace the bullets before unordered
list items, with double arrows ">>" throughout my site?

Thanks, - Dave

Dec 20 '06 #1
3 2956
On 2006-12-20, la***********@zipmail.com <la***********@zipmail.comwrote:
Hi,

On both Firefox and IE, how can I replace the bullets before unordered
list items, with double arrows ">>" throughout my site?

Thanks, - Dave
You can use the list-style and list-style image properties to use an
image (gif etc.), which could resemble ">>". If you want actual text in
the current font, you can use the :before pseudo like this:

ul li
{
display: block;
}

ul li:before
{
content: ">>";
}

This corresponds to a list item marker with list-style-position: inside.

Don't know how much of this works in IE.
Dec 20 '06 #2
Thanks but sadly this doesn't work on IE. -

Ben C wrote:
On 2006-12-20, la***********@zipmail.com <la***********@zipmail.comwrote:
Hi,

On both Firefox and IE, how can I replace the bullets before unordered
list items, with double arrows ">>" throughout my site?

Thanks, - Dave

You can use the list-style and list-style image properties to use an
image (gif etc.), which could resemble ">>". If you want actual text in
the current font, you can use the :before pseudo like this:

ul li
{
display: block;
}

ul li:before
{
content: ">>";
}

This corresponds to a list item marker with list-style-position: inside.

Don't know how much of this works in IE.
Dec 20 '06 #3
Scripsit la***********@zipmail.com:
Thanks but sadly this doesn't work on IE. -
I almost considered answering and then saw you do upside-down fullquoting.

Oh well, I might as well answer a little. No, you can't specify the list
markers as characters, in a way that works reasonably. Besides, ">>" is not
a double arrow but two greater than signs.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Dec 20 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Steve Dorsey | last post: by
11 posts views Thread by aaragon | last post: by
2 posts views Thread by asc4john | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.