Garland theme: unnumbered lists not displayed properly using IE 6

mango - January 12, 2007 - 17:28
Project:Drupal
Version:5.0-rc2
Component:Garland theme
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When I create an unnumbered list, some bullets are shown in the browser and others not. The number of bullets that is shown varies a great deal. Same for the number of bullets that is not shown. The problem occurs whether you use [/li] or no [/li] to close the list items. I have tried both the methods shows below.

METHOD 1

[ul]
[li] item 1 [/li]
[li] item 2 [/li]
[li] item 3 [/li]
[/ul]

METHOD 2

[ul]
[li] item 1
[li] item 2
[li] item 3
[/ul]

Menu items in Garland are shown properly.

The input format is set to "Full HTML".

Applies to: Drupal 5.0 RC2 (and also Drupal 5.0 RC1)
Theme: Garland
Contrib installed modules: none
OS: Windows XP, SP2

Although I have no idea how to resolve this issue, I found a comment on the web about unnumbered lists that may apply to this issue.

---------
Yet another wonderful difference between IE and and Gecko browsers. With enough experimentation, you will find that the markers for lists are affected by margins in one browsers, and padding in other browsers.

For this case, padding:0 on the [ul] is the culprit. Adding padding-left:1em lets the bullets show for the simple case you describe. Depending on what fonts and font sizes you select, this will need adjustment.
---------

AttachmentSize
unnumbered list.PNG5.3 KB

#1

mango - January 12, 2007 - 19:00
Component:Minnelli theme» Garland theme

During the submission proces of this bug, the Component switched form Garland to Minnelli theme. The bug relates to Garland.

#2

mango - January 12, 2007 - 19:00

During the submission proces of this bug, the Component switched form Garland to Minnelli theme. The bug relates to Garland.

#3

mango - January 13, 2007 - 10:32

The unnumbered list bug does not occur with Firefox 2 or IE 7.

#4

rbaarsma - June 27, 2007 - 11:34

I just wanted to add there's a node about this issue too: http://drupal.org/node/13548

#5

rbaarsma - June 27, 2007 - 11:35

I just wanted to add there's a node about this issue too: http://drupal.org/node/13548

And the problem still seems to be here in a fresh drupal 5.1 installation.

#6

marceloverdijk - July 4, 2007 - 18:53

Can this be solved by applying a patch to my local system?

The link mentioned in the thread is not accessable

#7

rbaarsma - July 13, 2007 - 12:32

Thanks for noticing.

The correct link is http://drupal.org/node/135487

Although It doesn't add much to the already explained issue.. any chance someone might pick this up?

#8

rbaarsma - August 7, 2007 - 08:17

Beert found the solution and posted it in the thread I've linked:
_____________________________________________________________
IE bulleted lists problem in Garland: solution
beert - August 6, 2007 - 18:08

Add the following line at the end of the 'style.css' in your Garland theme:

li {position:relative;}

and all your IE problems (some wishful thinking...) with bulleted lists will be gone.
_____________________________________________________________

I hope someone will implement this in the garland/style.css in the next version of drupal
to save other people from the trouble I went through

 
 

Drupal is a registered trademark of Dries Buytaert.