WebSite X5Help Center

 
James Becker
James Becker
User

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

Autor: James Becker
Besucht 1908, Followers 1, Geteilt 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?

Gepostet am
12 ANTWORTEN - 1 NüTZLICH
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

Mehr lesen
Gepostet am von Paul M.
James Becker
James Becker
User
Autor

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.

Mehr lesen
Gepostet am von 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?

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von 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>

Mehr lesen
Gepostet am von Paul M.
James Becker
James Becker
User
Autor

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?

Mehr lesen
Gepostet am von James Becker
James Becker
James Becker
User
Autor

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

Mehr lesen
Gepostet am von James Becker
James Becker
James Becker
User
Autor

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.

Mehr lesen
Gepostet am von 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

Mehr lesen
Gepostet am von 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;">

Mehr lesen
Gepostet am von  stesil