Forum Moderators: open

Message Too Old, No Replies

ie7 not obeying list style type

         

surrealillusions

4:01 pm on Mar 17, 2009 (gmt 0)

10+ Year Member



I have found a weird problem with Ie7, and i think its to do with my version.

With list style types, in my default style sheet, lists have no list type, then in a page css, i set a specific list style type if that page has lists.

In firefox, this works fine, but in Ie7, it has number 1 instead of discs. The letter 'n' instead of square.

At first, I thought it was something in my code, but its not. The page is valid, and it also happens when viewing lists on other sites (namely html tutorials about lists).

Has anyone else had this or know what could be wrong? Ie7 is bog standard, no addons, as its used purely for testing.

swa66

5:00 pm on Mar 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Maybe you're missing the appropriate font ?

surrealillusions

5:06 pm on Mar 17, 2009 (gmt 0)

10+ Year Member



font-family:Arial, Helvetica, sans-serif;

for all lists. And I've checked I have them installed. Its not affecting ordered lists, just unordered lists.

tedster

8:03 pm on Mar 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I recently ran into a similar problem with IE7 while trying to use "circle" for a list-style-type. I could not resolve it.

I've been writing HTML since the earliest days of the web and it really bothered me that I couldn't find-and-fix this kind of basic issue. But after about 30 minutes I had to move on, so I went to using list-style-image and created my own circle.

I'm using IE 7.0.5730.13.

swa66

11:53 pm on Mar 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I meant the "symbol" font or whatever it is called on windows. The bullets etc aren't used from a regular font, but come from one with just bullets etc.

surrealillusions

12:22 am on Mar 18, 2009 (gmt 0)

10+ Year Member



I meant the "symbol" font or whatever it is called on windows. The bullets etc aren't used from a regular font, but come from one with just bullets etc.

Yup, that was it. Got some fonts off another computer and copied them over. Problem solved.

Thanks!

:)