Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 11 years ago

#4449 closed defect (bug) (duplicate)

Kubrick ordered list problem for IE7

Reported by: neoen Owned by: djr
Priority: low Milestone:
Component: Template Version: 2.2
Severity: normal Keywords: has-patch needs-feedback
Cc: Focuses:

Description

Hello, in default Kubrick theme there is a problem with ordered list (<ul>
<li></li></ul>) in IE 7 which is not appearing... In another theme it works well, so I suppose that there is some problem in css.
Thank you for your help...

Attachments (4)

IE7_Firefox.PNG​ (42.5 KB ) - added by neoen 19 years ago.
Differences between IE7 and Firefox
4449.diff​ (377 bytes ) - added by djr 19 years ago.
4449-style.css.diff​ (661 bytes ) - added by ninjaWR 18 years ago.
patch (from r9837) of djr's fix
4449-vk.diff​ (478 bytes ) - added by vladimir_kolesnikov 18 years ago.
Patch - valid CSS

Download all attachments as: .zip

Change History (26)

#1 @foolswisdom
19 years ago

  • Milestone 2.2.1 → 2.2.2

#2 @rob1n
19 years ago

  • Keywords reporter-feedback ie7 added
  • Milestone 2.2.2 → 2.4 (future)

Can you provide a description of what's wrong? Or someone else with IE 7?

@neoen
19 years ago

Differences between IE7 and Firefox

#3 @neoen
19 years ago

In Firefox there is ordered list, but in IE7 not (missing). I use default Kubrick (Default 1.6) theme without any changes. Please see attached .png file...

#4 @JeremyVisser
19 years ago

  • Milestone 2.4 (future)
  • Resolution → invalid
  • Status new → closed

This is an IE bug, and comes from not supporting the :before pseudo-class.

#5 @neoen
19 years ago

So, this cannot be repaired somehow, for example in css? It is default Wordpress theme and it is very annoying...

#6 @JeremyVisser
19 years ago

You might be able to do something like this:

* html .post ul {
    list-style-type: disc;
}

#7 @neoen
19 years ago

  • Milestone → 2.2.2
  • Resolution invalid
  • Status closed → reopened

I tried to add this code to style.css, but this does not work.
But I found there following:
/* Begin Lists

Special stylized non-IE bullets
Do not work in Internet Explorer, which merely default to normal bullets. */

So there are special bullets for non IE7 browsers, but in IE7 there shuld be normal bullets. But in IE7 there are no bullets :-(
Thank you for your help...

#8 @rob1n
19 years ago

  • Milestone 2.2.2 → 2.3 (trunk)

#9 @ryan
19 years ago

  • Milestone 2.3 → 2.4

#10 @djr
19 years ago

  • Cc djr added
  • Owner changed from anonymous to djr
  • Status reopened → new

#11 @djr
19 years ago

Let's hope I did this correctly. I attached a patch which specifically targets IE7. I realise this adds a lot of extra css to default.css, but it's the only way to have bullets across all browsers. I think it's better to move to image based bullets or include a seperate stylesheet for IE7, but nevertheless my patch works.

Tested with no side-effects: IE7/Win, FF2/Win, FF2/Mac, Safari3/Mac. A temporary demo can be seen here: ​http://www.iphonemobiel.nl.

#12 @djr
19 years ago

  • Keywords has-patch needs-feedback added; reporter-feedback removed

#13 @djr
19 years ago

Ok, I s*ck at making patches, so either ignore or please fix.
Here's the code block to be included:

/* Fix for IE7 not showing bullets */
html>body .entry ul {
	*margin-left: 0px;
	*padding: 0 0 0 30px;
	*list-style: disc;
	*padding-left: 10px;
	*text-indent: 10px;
	}

html>body .entry ul li {
	*margin: 7px 0 8px 10px;
	}
/* End fix for IE7 */

This code block need to go just below:

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

@ninjaWR
18 years ago

patch (from r9837) of djr's fix

#14 @ninjaWR
18 years ago

  • Milestone 2.9 → 2.8
  • Priority normal → low

would be nice if this were to make it into 2.8, since I'm sure the posts look weird to visitors using IE... I wish IE were more compliant, but don't we all ;)

#15 @vladimir_kolesnikov
18 years ago

Have a better patch that does the same but is still valid CSS. Tragetted for IE7.

#16 @jacobsantos
18 years ago

I've always wondered why there weren't any styles on the theme when using IE.

#17 @mrmist
18 years ago

See also #4518

#18 @jacobsantos
18 years ago

  • Keywords ie7 has-patch needs-feedback → has-patch needs-feedback ie7

#19 @rowoot
18 years ago

  • Summary Kubrick ordered list problem → Kubrick ordered list problem for IE7

Tested patch 4449-style.css.diff, 4449-vk.diff and 4449.diff.
None seem to work in IE7 as of now. Tried it out with the latest nightly build.

I`ll try working on a update to these patches.

#20 @Nicholas91
18 years ago

  • Keywords ie7 removed
  • Resolution → duplicate
  • Status new → closed

Duplicate: 4518

#21 @Nicholas91
18 years ago

*ups* Duplicate: #4518

#22 @DrewAPicture
11 years ago

  • Milestone 2.8
Note: See TracTickets for help on using tickets.