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 9099573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:39:03+00:00 2026-06-17T00:39:03+00:00

A colleague just added this to our project. <ol class=numbered-list list-inside start=1> .numbered-list {

  • 0

A colleague just added this to our project.

<ol class="numbered-list list-inside" start="1">
.numbered-list
{
    list-style-type: decimal;
}
.list-inside
{
    list-style-position: inside;
}

Am I missing something here or is this just as bad as inline CSS? How do I explain this to my colleague?

Edit Perhaps my question is misunderstood. Shouldn’t it be something like this instead?

<ol class="info-list" start="1">
.info-list
{
    list-style-type: decimal;
    list-style-position: inside;
}

The point I’m trying to make is, the class names just represent the rule they apply. So if you want to change the representation of the list, you have to change the HTML (or change the CSS so you end up with a class name that does the opposite of the rule it contains).

Another edit Perhaps this will further help you understand my question.

<p class="red">Hello</p>
.red
{
    color: red;
}

Now, you want to change the text to be green. See the issue?

  • 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-17T00:39:05+00:00Added an answer on June 17, 2026 at 12:39 am

    An article confirms my doubts about this style. The most relevant example is this one:

    <div class="hyphenate"></div>
    

    Unsemantic. Trying to specify the behavior of the content inside, instead of describe what it actually is.

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

Sidebar

Related Questions

I have just refactored a colleague's code that, roughly, looked like this... public class
This was a very bizarre scenario I just witnessed on a colleague's machine. While
Note: This is a project with a made-up site inside a virtual machine. It
A colleague just showed me this and I was surprised that it compiled at
A colleague of mine agreed to using Subversion (SVN) for our little project, but
I just got this quiz from a colleague that is driving me crazy. For
I'm working on a project which is just about to start, and since I
A new colleague has just suggested using named HQL queries in Hibernate with annotations
I'm helping a colleague with a recurring issue that's just started happening to multiple
I've got a question about something that's just been irritating me. A colleague 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.