Working on Windows/IE now

by ,

Yay, I finally fixed the problem with IE/Windows not displaying correctly because of my use of the “float: right” CSS property.
I found a page on
float layouts
The Autistic Cuckoo
which went on at some length about IE problems.
To quote:

IE/Win has so many complicated float-related bugs that we can’t go into it here. The example in this article doesn’t work at all in IE/Win, but the article is too long anyway, without venturing into the jungle of bug fixing.

Fortunately, there is a simple solution that fixes many of the IE float bugs. We saw earlier that all floats become a block box. The standard says that the display property is to be ignored for floats, unless it’s specified as none. If we set display:inline for a floating element, some of the IE/Win bugs disappears as if by magic. No one knows exactly why. IE/Win doesn’t make the element into an inline box, but many of the bugs are fixed.

So I added
to my “#menu” element and now all is well.
I’m guessing I could have asked Peter and Laura about this, right? 🙂

web site.

About rae

I'm a long-time Mac and iOS developer. I'm also a big fan of Ruby on Rails and relational databases. I tend to work remotely, in my basement with occasional trips to the office. I'm also a big videophile, both TV and film, and can't wait for a good, inexpensive home 4k solution.

7 comments on “Working on Windows/IE now

  1. Reid

    Oh wait, that’s not right. For my testing, I only just realized that I was running FireFox on my PC to check my site! I’ve become so annoyed with IE that it is no longer accesible from the plain desktop. I have to dig into Start->All Programs to find it!

    The bug remains, alas. Peter? Laura?

  2. Jeff K

    IE? Isn’t that that program you only have to use when dealing with companies that drank the ASP cool-aid?

  3. Reid

    Thanks to a pointer from Laura, I found out that my specifiying a width for an element after my “float”ed menu was causing IE to freak right out. So I removed some widths and also removed a “clear: all” that was also causing IE problems.

    So now my blog should look okay for those poor people still stuck using Windows/IE. If you’re one of them, I would suggest moving to FireFox. If you can’t run an installer on the PC you are working on (Hiya Hon!), then just grab the zipped version, which doesn’t require admin rights or anything to install.

  4. Luisa

    Ok smart boy. Where are those statistics on browser usage? You claimed FireFox was more popular than IE.

    I refuse to get around work rules to install FireFox just so I can see your page all pretty. If you can prove to me that less people use IE than FireFox, I’ll stop complaining. Just because you’re a browser snob, doesn’t mean that everyone else has to be. (OK, so most of the people that read your page may be browser snobs, too. Were you planning to make your web pages only available to them?)

    (Gee. I wonder if most people think I’m a complete bitch because of the way I respond to lots of your posts. Hmm. I also wonder why we tend argue about tech stuff the most. Sheesh. (VMS DIR is better. So there.))

  5. Peter Cook

    It depends on how you define “popularity”. It’s not necessarily by choice: IE comes installed with Windows and a lot of people don’t know that it’s not the only thing going, and many workplaces insist on using IE only. But because of its lack of security and bugginess, IE is most definitely losing ground. IE currently has something like 68% of the browser market now, and Firefox has zoomed to past 20%.

    Here’s where Reid is coming from: Once upon a time there were Browser Wars, when the browser-makers were literally inventing new code and you had to do a lot of browser detection and write separate code for each browser. That’s cooled down now, and everybody has agreed on standards. The idea is that you can write one piece of code that will look similar on everybody’s systems. (There are side benefits too, like it will be comprehensible on PDA’s and text readers for the blind, and such.)

    The problem is the Microsoft’s IE has some major bugs (all apps have wittle bugs, but IE has big, fat inconsistent ones) They’re not bucking the standards, IE6 just isn’t great code. That’s what Reid is stuggling against. When you do Strict XHTML, you have to use a bunch of tricks to keep the buggy IE happy. Of course, it gets to feel like we’re back in the trenches of the Browser Wars, making specific code for one stupid program. Yeah, it’s used by 2/3 of the people, so you have to do it, but it is a pain in the butt.

    Just finishing a highly engrossing book by web design guru Jeffrey Zeldman, much humour in it, but with the dull-and-to-the-point title Designing with Web Standards which discusses this stuff and more.

    Reid, at his sites (A List Apart is particularly of interest) he comments his stylesheets for folks like us so you can find all his solutions for the IE bugs (and minor bugs in other browsers too). For instance:’s stylesheet. What a guy!

  6. Luisa

    The only point I was trying to make is that IE is what most people use. It may not be better – I have no doubt it’s not. If you’re building a web site, check how the damn thing looks in IE. 68% is a huge percentage, and Firefox, at 20, is miniscule. Just check, that’s all I’m asking.

    (I remember working at larg-ish company that was creating a new web app, hoping that the masses would come to use it. They built it only for Windows IE. I jumped up and down, telling them they should be checking other browsers, other platforms (Mac), but it fell on deaf ears. I thought that was incredible. This situation here is the complete opposite, but somehow feels the same. Only I’m the one left out because I happen to use the most common platform.)

  7. rae Post author

    Ya, Peter’s right. The figures I saw were the %change I think. The thing is, FireFox has gone from 0% to 20% in 2 months. Okay, so some of that is people switching from Mozilla, but if you count all the IE browsers vs all the Mozilla browsers (including Netscape), the stats are thus:

    Oct 2004 IE:75.2% Moz:18.8%
    Nov 2004 IE:73.5% Moz:20.5%
    Dec 2004 IE:70.8% Moz:22.5%
    Jan 2005 IE:69.7% Moz:24.4%

    Hm, okay, that’s not quite as impressive as I had thought.

Leave a Reply

Your email address will not be published. Required fields are marked *