Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ordered list with italic type

Posted on 2014-03-13
5
Medium Priority
?
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 35

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 35

Accepted Solution

by:
Dan Craciun earned 2000 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 35

Expert Comment

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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

715 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