Grow your CSS skills. Land your dream job.

ORDERED LIST BULLET FONT SIZE

  • # April 19, 2008 at 2:08 pm

    I have an Ordered list with 5 list items and i need the numbers 1, 2, 3, 4, & 5 to be bigger than the list item content.
    an over sized number basically.

    i have no idea how to target just that 1 number. can anybody help?

    # April 19, 2008 at 2:54 pm

    You can use <p> tags to change the style of the list -

    the CSS:

    Code:
    ol {
    style of your number
    {
    ol p {
    style of your text
    }

    the HTML:

    Code:
    1. First thing

    2. Second thing

    3. Third thing

    4. Fourth thing

    5. Fifth thing

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".