WebSite X5Help Center

 
James Becker
James Becker
User

Bullets don't show in an unordered list ( ul )  en

Autore: James Becker
Visite 2109, Followers 1, Condiviso 0  

Why don't the "bullets" display in an unordered list ( ul ).

This is the code I used:

<div style="color:#ffffff; font-family: Arial, Helvetica, sans-serif; font-size:12pt; line-height: 1.5;">
<ul style="list-style-type:disc">
<li>Schema Therapy</li>
<li>EMDR Trainings</li>
<li>Master Class Supervision</li>
<li>ACT</li>
<li>DBT</li>
<li>Others</li>
</ul>
</div>

See attached image. There are no bullets (disc) displayed.  Ideas?

Postato il
12 RISPOSTE - 1 UTILE
Paul M.
Paul M.
Moderator

Hello James,

Your code is not quite valid for HTML5, with some parts being deprecated, etc.

Use this code instead:

<list style="color:#ffffff; font-family: Arial, Helvetica, sans-serif; font-size:12pt; line-height: 1.5;">

<ul.a>

<li>Schema Therapy</li>

<li>EMDR Trainings</li>

<li>Master Class Supervision</li>

<li>ACT</li>

<li>DBT</li>

<li>Others</li>

</ul.a>

</list>

Kind regards,

Paul

Leggi di più
Postato il da Paul M.
James Becker
James Becker
User
Autore

Ya Ha!! Thanks for the tip Paul M. It works.

Now one more question... how do I change the color of the "bullet/disc"? I want it the same color as the text "Work Shop."

Again... thanks for your help Paul.

Leggi di più
Postato il da James Becker
Paul M.
Paul M.
Moderator

The bullet points are displayed correctly when I view your webpage in my own browser, James (see the screenshot attached).

Did you clear your browser cache before testing?

Leggi di più
Postato il da Paul M.
JiPeR 48
JiPeR 48
Moderator

Hello far friends,

Paul, for all purposes not visible on my computer on IE 11 and Firefox, but works fine on Chrome. Very strange...

Nice day to you, J.P.

Leggi di più
Postato il da JiPeR 48
Paul M.
Paul M.
Moderator

Thank you Jiper...  interesting that the bullets are displayed in IE11 when using Compatibility View?

James, I lifted the following source code directly from your modified web page:

<list style="color:#ffffff; font-family: Arial, Helvetica, sans-serif; font-size:12pt; line-height: 1.5;">
<ul.a>
<li>Schema Therapy</li>
<li>EMDR Trainings</li>
<li>Master Class Supervision</li>
<li>ACT</li>
<li>DBT</li>
<li>Others</li>
</ul></div>

The closing tag I have highlighted in bold should be as follows:

</ul.a>

Leggi di più
Postato il da Paul M.
James Becker
James Becker
User
Autore

HiYa Paul,

I have changed the closing UL tag to </ul.a> as you suggest.... but sitll the bullets do not display in Firefox or IE or MS Edge. Ideas?

Leggi di più
Postato il da James Becker
James Becker
James Becker
User
Autore

@Incomedia...  Any ideas why bullets do not display using IE, Edge, Firefox?

Leggi di più
Postato il da James Becker
James Becker
James Becker
User
Autore

Does anyone have any ideas on this issue? The bullets display when viewed with Chrome but do not display using IE, Edge, Firefox? I really need a solution to this issue.

Leggi di più
Postato il da James Becker
Andre E
Andre E
Moderator

Why not instead of a bullet code use a small picture as bullet in a text object in front of your text?

You can choose the bullet colour and form and size yourself this way, and set the text yourself in any way you wish, besides that it will work in any browser.

If you search google for a good picture I suggest the wordt 'dot'  :) Else you get a lot of other bullets....

http://andreweb.nl/x5_test/bullets_jb.html

Leggi di più
Postato il da Andre E
 stesil  
 stesil  
User

Hi,

James Becker
<div style="color:#ffffff; font-family: Arial, Helvetica, sans-serif; font-size:12pt; line-height: 1.5;"> <ul style="list-style-type:disc"> <li>Schema Therapy</li> <li>EMDR Trainings</li> <li>Master Class Supervision</li> <li>ACT</li> <li>DBT</li> <li>Others</li> </ul> </div>

You should change this:

<ul style="list-style:disc inside none;">

Leggi di più
Postato il da  stesil