Solved

ordered list with italic type

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

Expert Comment

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

Featured Post

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
How do I Change the Font Size of a Price Table in Wordpress? 6 450
How to convert pfb to truetype? 2 273
Installing new TTF font on Windows Server 2012 R2 1 5,610
Widget display 6 93
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

739 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