Forum Moderators: not2easy

Message Too Old, No Replies

Numbered Lists

Can see the numbers in Fire Fox but not in IE

         

flaxmac

10:28 am on Jun 8, 2005 (gmt 0)

10+ Year Member



hi All,
I can see a numbered list in FireFox, but IE has the numbers not showing.

My doctype and charset is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">

I know that the charset

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

will display them the way I want, but I am worried as to how this will effect the rest of my site if I change the Charset.

Any other ideas?
Clint.

Moby_Dim

11:10 am on Jun 8, 2005 (gmt 0)

10+ Year Member



Strange. What's your IE version? I've checked in 6.0, and it's OK (Opera 7.54 too).

flaxmac

11:16 am on Jun 8, 2005 (gmt 0)

10+ Year Member



version number is 6.0.2800.1106.xpsp2.050301.-1526

So you think it could be cause I stuffed it somewhere else? but why would it work with a different charset?

Moby_Dim

11:22 am on Jun 8, 2005 (gmt 0)

10+ Year Member



Wait for 1-2 more opinions may be to be sure.

flaxmac

11:22 am on Jun 8, 2005 (gmt 0)

10+ Year Member



ACtually it wont work with either charset, I wonder what I am doing wrong and why does it work in FF?

Moby_Dim

11:43 am on Jun 8, 2005 (gmt 0)

10+ Year Member



Try in the simplest and 100% valid variant (trial page with necessary elements only). Exclude syntax causes then. If it woun't work, search for system deviations may be.

girish

3:32 pm on Jun 8, 2005 (gmt 0)

10+ Year Member



are you trying to see an empty ordered list? Make sure each <li></li> has something in between.

flaxmac

5:27 am on Jun 9, 2005 (gmt 0)

10+ Year Member



What I believe is that FF is right, it's just that IE has a problem, can anyone help in getting around it?
This how the code looks:

<p><b>Things to consider:</b></p>

<ol>
<li>Working Conditions: students per class, hours per week, split shifts.</li>
<li>Living Conditions: housing provided, or part subsidised, assistance to find accommodation.</li>
<li>Exclusivity: teaching at other schools or private classes.</li>
<li>Salary: per hour, overtime rate, bonuses.</li>
<li>Airfare: provided, or part subsidised.</li>
<li>Paid Holidays: how many provided.</li>
<li>Medical Insurance: provided, or part subsidised.</li>
<li>Transportation: costs provided, or part subsidised, vehicle provided.</li>
<li>Taxes: rates or exemptions.</li>
<li>Visa Conditions: length of visa, working restrictions.</li>
<li>Qualifications: certificates or degrees required.</li>
</ol>

<p>To be a good teacher you need to be sincere, be willing to learn and be open-minded. Having said that, we are looking
for the best teachers possible. Be sure to pay special attention to your application. Those with spelling mistakes will
be removed immediately.</p>

Moby_Dim

6:02 am on Jun 9, 2005 (gmt 0)

10+ Year Member



All is OK. The problem is definetely with YOUR own IE settings (or DLL's, etc.), not with IE in common.

bedlam

6:15 am on Jun 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A guess: you have zeroed out all or most of the padding and/or margins for <ol> elements in your CSS; if so, the numbers are present, but not visible. The fix - if this is indeed the problem - is to style some padding or margins back into the <ol>, OR set "list-style-position [w3schools.com]:inside;" in your stylesheet...or both :)

-B

flaxmac

7:21 am on Jun 9, 2005 (gmt 0)

10+ Year Member



Oh Bedlam, Where were you all day?
I finally worked out the solution and was coming back here to write it up and then I see your notes. You knew how to fix it from the start.
I spent hours scrolling through Google, I even found other forums that had the same problem listed, with no result.
I tried removing the padding and margin and it worked.

ol{margin:0; padding:0px;color: #000; font-family: Arial; font-weight: bold; font-size: 8pt;}

Just wish you had read this thread about 4 hours ago.
Anyway thanks for the great tip, yet again.

Hey you guys all seem relatively bright, I wonder could you help with another thread I have going on the following page?
[webmasterworld.com ]

Thanks,
Clint.

Moby_Dim

2:20 pm on Jun 9, 2005 (gmt 0)

10+ Year Member



Congrats, bedlam :) You are true Sherlock Holmes. I wish flaxmac were not too lazy to try the simplest way I recommended a day earlier. I'd received lot of thanxs too ;) lol