Solved

ordered list with italic type

Posted on 2014-03-13
5
221 Views
Last Modified: 2014-03-13
I have minimal html experience.  Just need to update some text in a database field with some html tags to render an ordered list.  

The list is deeply nested.  I'm using <ol type="where my list type is equal to one of the following: A, 1, a, i".  The one section requires italic lower case type.  For example:

a. Monday
b. Tuesday
c. Wednesday

No css.  Silly question, but how do I get the italics in there?  What's the best way to approach this?

Thank you.
0
Comment
Question by:MariaHalt
  • 3
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39927391
You can do it like this:
<ol>
<li style="font-style:italic;"><span style="font-style:normal;">Monday</span></li>
<li style="font-style:italic;"><span style="font-style:normal;">Tuesday</span></li>
<li style="font-style:italic;"><span style="font-style:normal;">Wednesday</span></li>
</ol>

Open in new window

HTH,
Dan
0
 

Author Comment

by:MariaHalt
ID: 39927427
Hi Dan,
Thank you for responding so quickly.  I just tried it.  It's close!  It rendered an italic number, not an italic lower case letter:

1. Monday
2. Tuesday
3. Wednesday

Any tweak I can make to get the lower case letter?
0
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39927436
Yup.
<ol type="a">
<li style="font-style:italic;"><span style="font-style:normal;">Monday</span></li>
<li style="font-style:italic;"><span style="font-style:normal;">Tuesday</span></li>
<li style="font-style:italic;"><span style="font-style:normal;">Wednesday</span></li>
</ol>

Open in new window

0
 

Author Comment

by:MariaHalt
ID: 39927451
Ah!  That did it.  Thank you very much!
0
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39927468
Glad I could help!
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
Adding Computers to AD groups through an SCCM Task Sequence
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question