Solved

ordered list with italic type

Posted on 2014-03-13
5
216 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Web Fonts - @font-face 3 586
Outlook 2013 signature 2 309
Need a font Adobe Garland 4 98
Installed fonts not showing up 4 66
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now