Skip to main content
Hosun
Inspiring
December 29, 2022
Answered

markers of bullets

  • December 29, 2022
  • 1 reply
  • 294 views

Hi,

 

Step 1. I typed bullets on Id.

Step 2. On EPUB, they are not represented.

Step 3. On css, list-style-type: disc is applied.

 

On the internet, I can only find out disc, circle, square.

Are there more markers?

 

Hosun

 

 

 

 

 

This topic has been closed for replies.
Correct answer James Gifford—NitroPress

There are about a dozen 'list style types.' Here's a fairly comprehensive list:

https://www.w3schools.com/cssref/pr_list-style-type.php

 

Again, though, not all browsers support all list styles, and EPUB readers are always a subset of browser functionality. If you were to run through the complete list, you would probably find that most readers reduce most of those to dots, blank space or even garbage characters.

 

There is no specific statement for the list type in your sample CSS code. In addition to list-style-position, there should be a list-style-type command, like these examples:

 

list-style-type: circle;
list-style-type: square;
list-style-type: disc;

 

 

Since 'disc' — the dot — is the default, that's what you will get if otherwise undefined or (usually) with any unsupported option.

 

1 reply

James Gifford—NitroPress
Legend
December 29, 2022

There are about a dozen 'list style types.' Here's a fairly comprehensive list:

https://www.w3schools.com/cssref/pr_list-style-type.php

 

Again, though, not all browsers support all list styles, and EPUB readers are always a subset of browser functionality. If you were to run through the complete list, you would probably find that most readers reduce most of those to dots, blank space or even garbage characters.

 

There is no specific statement for the list type in your sample CSS code. In addition to list-style-position, there should be a list-style-type command, like these examples:

 

list-style-type: circle;
list-style-type: square;
list-style-type: disc;

 

 

Since 'disc' — the dot — is the default, that's what you will get if otherwise undefined or (usually) with any unsupported option.