#4223 closed defect (fixed)
Bad CSS interpretation with IE
| Reported by: | anonymous | Owned by: | Alec Thomas |
|---|---|---|---|
| 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 (1)
Change History (8)
Changed 17 years ago by
| Attachment: | tractags-ie.jpg added |
|---|
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
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
comment:4 follow-up: 5 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:5 Changed 16 years ago by
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.
comment:6 Changed 16 years ago by
comment:7 Changed 14 years ago by
| Keywords: | CSS added |
|---|---|
| Summary: | bad css interpretation with IE → 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 .



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