Solved

How did youtube do this?

Posted on 2014-09-15
3
93 Views
Last Modified: 2014-09-15
https://www.youtube.com/static?gl=CA&template=terms

I am trying to do what youtube did with the (A. B. C.). I used firebug in firfox to examine the code and could only find the paragraph, but not the letter that proceeds it. The A. should be next to the <ol> and <li>. I looked up the hierarchy and could not find the letter A. and B.
Thanks for your help.

aa
0
Comment
Question by:kadin
[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 Comments
 
LVL 10

Assisted Solution

by:jtwcs
jtwcs earned 250 total points
ID: 40324102
They are using a styled order list.

Here's the declaration they are using for the A, B, C...

#page ol.upper-alpha {
    list-style-type: upper-alpha;
}

Open in new window

0
 
LVL 22

Accepted Solution

by:
Kim Walker earned 250 total points
ID: 40324107
You can specify the list-style-type using CSS to set it to upper-alpha. See list-style-type reference.
<ol style="list-style-type: upper-alpha">
<li>line 1</li>
<li>line 2</li>
</ol>

Open in new window

Or you can specify using the type attribute.
<ol type="A">
<li>line 1</li>
<li>line 2</li>
</ol>

Open in new window

0
 

Author Closing Comment

by:kadin
ID: 40324116
I learn something every day. Thanks.
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
Set time on Session (ASP) 14 30
HTML <font style="color:red"> 9 52
dynamic created check uncheck boxes 6 42
CSS DIV Height in Percent 1 27
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

733 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