Skip to main content
Inspiring
January 30, 2017
Question

example css indented bullet

  • January 30, 2017
  • 2 replies
  • 1071 views

RH11 webhelp

Please help me correct our CSS code to indent the bullets.

This is how the list looks:

* item one

* item two

This is how it should look (the bullets line up, they are not multilevel):

   * item one.

   * item two.

This is our CSS code. :

}

.bulletname}

        list-style-type: outside disc;

        margin-top: 2px;

        margin-bottom: 4px;

        margin-left: 18px;

        font-size: 10pt;

       font-family: arial;

A friend indented them in HTML with div. But does div go in css, which has no <ul> tag?

Thank you!

This topic has been closed for replies.

2 replies

Jeff_Coatsworth
Community Expert
Community Expert
January 30, 2017

Have you tried looking around on w3schools.com ?

claud2134Author
Inspiring
January 30, 2017

Jeff, yes - but it didn't answer how to fix my css code,  which doesn't have a <ul> format. What do I do with what I have?

Jeff_Coatsworth
Community Expert
Community Expert
January 30, 2017

What do you have in the HTML for the list?

Peter Grainge
Community Expert
Community Expert
January 30, 2017

Take a look at lists on my site. I believe it is covered there.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
claud2134Author
Inspiring
January 30, 2017

Thanks, Peter. I'm following your steps carefully, but the step that creates a class (.name) isn't working for me.

  1. In the Style Editor, under List, I created     bullet_numlist
  2. I chose bullets, font, indents, spacing (style isn't selectable).
  3. I  clicked Apply and ok.
  4. In my text, I selected the text to bullet and clicked the style dropdown. No .bullet_numlist is available to select.

For example my dropdown shows other styles that have a dot before the name:

.bullet_para

but, no .bullet_numlist

I tried saving, regenerating, restarting RH.

Thank you

claud2134Author
Inspiring
January 30, 2017

Peter, I can edit a current .name bullet in RH style editor. But none of the settings seem to indent the bullet set. Which setting does that?