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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:41:11+00:00 2026-05-13T17:41:11+00:00

How to give option to add css classes/IDs to content to in CMS’s content

  • 0
  • How to give option to add css
    classes/IDs to content to in CMS’s
    content WYSIWYG builder/editor to non-
    technical client who doesn’t know
    html, css but knows MS Word.

some time to make content according to design XHTML tags not enough. use of css classes needed.

  • Should we give only css .classes to
    user or #Id can be given also?
  • and how we should write classes name
    for ease of client?

In semantic way or like border4px, light-text and pretty-background ? Which method will be good for non-technical client to choose and remember appropriate classes?

  • How popular CMS given this option to
    client ? What is best method
    according usability?
  • 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-05-13T17:41:11+00:00Added an answer on May 13, 2026 at 5:41 pm

    Most Rich HTML online editors bring a “styles” drop down that allows the user to pick styles. See e.g. here for how it’s solved in FCKEditor.

    As for what styles to put in there, that depends totally on your client IMO. If they have design guidelines, you will want to put styles there that match the corporate font / colouring / design. You could also make this customizable by the user, there are several online CSS Editors around – they’re not really for non-technical people, though.

    As for whether to use IDs or classes: Absolutely and definitely classes. It’s hard to prevent IDs from being assigned multiple times in a WYSIWYG editor, which is a total no-no.

    The naming of classes is up to you, really. I like human-readable formats that at the same time are a class name:

    • HeadingBig
    • HeadingMedium
    • HeadingSmall

    • ProductCategory

    • ProductDeclaration

    • Quote

    • TipOfTheDay

    those class names are obviously displayed to the user when selecting the class, so there is no need to keep separate, human-readable class names.

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

Sidebar

Related Questions

I'm trying to give users the option to add a title to content they've
I want to give users the option to format text like bold, italic, add
I want to give the user the option of add a homescreen shortcut to
I have to give one option in my website to upload multiple files and
In order to give functions the option to modify the vector I can't do
I've a table with lots of columns. I want to give users the option
I'd like to be able to give our users an option to create a
I am using a Lucene.Net index and want to give the user an option
When we give the option Navigation Bar with prompt for a navigation bar, its
I want to add an option to my windows form application (written in vb.net)

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.