473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 3083
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve Dorsey | last post by:
Hello I'm creating an unordered list which will be used as a nav element on my page. I am using the following CSS: #nav { position:relative; left:10px;
4
by: VR | last post by:
I am trying to embed a check box into a FlexGrid's cell, but having a problem when I start scrolling the grid. Here is my MyCheckBox class... class MyCheckBox : CheckBox { void Init (...
1
by: Amit | last post by:
Hello, I have VS.NET 2003 and using VB as the main language for our projects. When a VB file is opened in VS I see two drop-downs on top - one that lists the controls and other that lists the...
5
by: ibiza | last post by:
Hi all, I have a question which I have no ideal of the answer...I am currently working on a web application and at some time, I have a string representing a short text. This could be a simple...
11
by: aaragon | last post by:
Hi everyone. I'm trying to write a class with policy based design (Alexandrescu's Modern C++ Design). I'm not a programmer but an engineer so this is kind of hard for me. Through the use of...
3
by: User | last post by:
Hi, Is it possible to transform Ordered/Unordered list into navigation dropdown menus? Is this effect achieved by CSS? or via Javascript? PLease advise Thanks.
2
by: akapsycho | last post by:
I'm struggling slowly through this CSS but I'm getting it bit by bit. I've looked around and can't seem to find any solution that centers the list items in my unordered list. It's a 100% width ul and...
2
by: webhead | last post by:
I have a website at This Link which contains some unordered lists at the right. The news headlines list has the first item appearing normally, but all the other items are pushed over to the right....
2
by: asc4john | last post by:
When including an unordered list in an unordered list: Should it be included as a "list" item as in: <ul><liitem</ li><ul.... </ul<liitem</li</ul> or included in the LI element as in:...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.