Ticket #4223 (closed defect: fixed)

Opened 3 years ago

Last modified 5 months ago

Bad CSS interpretation with IE

Reported by: anonymous Assigned to: athomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords: CSS
Cc: Trac Release: 0.11

Description

IE sticks every tag to each other, there's no space between them. I know IE is a pain but i use it like a lot of people ;)

ul.tagcloud { list-style: none; }
.tagcloud li { display: inline; }
.tagcloud li:after { content: ", "; }
.tagcloud li.last:after { content: ""; }

Attachments

tractags-ie.jpg (37.8 kB) - added by sgissinger on 12/11/08 04:29:51.

Change History

12/11/08 04:29:51 changed by sgissinger

  • attachment tractags-ie.jpg added.

12/11/08 04:31:15 changed by sgissinger

You could add only one space between tags in your code, no matter if IE users do not see the comma but it would be cool to have a better rendering than this provided in the attachment.

Cheers

02/18/09 10:18:13 changed by nulleke

You can solve the display in ie by adding as space like sgissinger already noticed.

I created a little patch that does exactly that

--- macros.py.orig      2009-02-18 10:11:22.000000000 +0100
+++ macros.py   2009-02-18 08:46:20.000000000 +0100
@@ -50,7 +50,7 @@
         if i == last:
             li(class_='last')
         li()
-        ul(li)
+        ul(li, ' ')
     return ul

03/12/09 01:16:06 changed by jevans

#4465 closed as duplicate

(follow-up: ↓ 5 ) 01/12/10 11:21:13 changed by otaku42

  • status changed from new to closed.
  • resolution set to fixed.

(In [7376]) IE ignores css stuff which ensures that tags in the tag cloud are not sticking to each other. Add a space after each </li> HTML tag as workaround, as suggested in #4223. Worked as intended in a quick test. Fixes #4223.

(in reply to: ↑ 4 ) 01/12/10 17:49:13 changed by otaku42

Replying to otaku42:

(In [7376]) IE ignores css stuff which ensures that tags in the tag cloud are not sticking to each other. Add a space after each </li> HTML tag as workaround, as suggested in #4223. Worked as intended in a quick test. Fixes #4223.

Guess I had a bad day:

I accidentally committed stuff to the tagged release v0.6 rather than to trunk, which of course was wrong. I'll thus roll back r7376 and re-apply the patch to trunk.

01/12/10 17:49:43 changed by otaku42

(In [7380]) IE ignores css stuff which ensures that tags in the tag cloud are not sticking to each other. Add a space after each </li> HTML tag as workaround, as suggested in #4223. Worked as intended in a quick test. Fixes #4223.

09/25/11 20:16:41 changed by hasienda

  • keywords set to CSS.
  • summary changed from bad css interpretation with IE to Bad CSS interpretation with IE.

As a matter of fact this is one of the most notable improvements over tractags-0.6, at least for the occasional and average user. Just making sure, this has more suitable title for the upcoming changelog for tractags-0.7 .


Add/Change #4223 (Bad CSS interpretation with IE)




Change Properties
Action