Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9207391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:22:37+00:00 2026-06-18T00:22:37+00:00

Our web designer wants a vertical UL / LI list like the following image.

  • 0

Our web designer wants a vertical UL / LI list like the following image.

What we are attempting to obtain

But using this style I obtained

enter image description here

the stye was the following

    <style type="text/css">
ul {
    list-style: none;

}
ul li:after {
    content: "\25BC \0020";
}

ul li:before {
    content: "\25A0 \0020"; color:#C60;
}
</style>

Im going to pass to a table but is there a way to obtain an aligned list also if the line owerflows ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:22:38+00:00Added an answer on June 18, 2026 at 12:22 am

    This jsfiddle works pretty nice, note that the li left-margin and text-indent depend on the icon used, but like this they keep their alignment even with changing font-sizes.

    CSS

    ul {
        list-style: none;
        width: 150px;
        font-size: 16px;
        text-transform: uppercase;
    }
    
    ul li {
        text-indent: -0.88em;
        margin-left: 0.88em;
        position: relative;
        padding-right: 1em;
    }
    
    ul li:before {
        content: "\25A0";
        color: #C60;
        vertical-align: text-bottom;
        margin-right: .25em;
    }
    
    ul li:after {
        color: #C60;
        font-size: 0.8em;
        content: "\25BC";
        position: absolute;
        right: 0;
        top: 50%;
        margin-top: -.5em;
    }
    

    Edit: vertical-align: text-bottom; results in a better icon-to-text alignment in FF for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a Html.TextBoxFor helper in an MVC4 project. Our web designer used
Our web designer suggested using Cambria as a font. In looking at various font
Recently our newest web designer asked me why we use ASP.NET for our website.
In our web-application we manage our continuous integration using TeamCity. So far we have
I'm not a web designer but I faced a situation where I had to
I am coding a website for iphone. Our designer pass me the image with
Our web-designer just finished up our site, and it has an HTML Form with
Currently our team (web devs, one designer and one copywriter) all work on separate
My company wants to start mobile web application development, as an addition to our
One of our web designers is working on a site at the moment and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.