General discussion

  • Creator
    Topic
  • #2178096

    The Way of the Exploding Web-Browser

    Locked

    by ni2sml ·

    blog root

All Comments

  • Author
    Replies
    • #3095681

      Elasticated pictures and the lameness that is IE CSS handling

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      The latest IE wierdness to send me over to the nearest wall, needing to beat my head off it in frustration, seems to be related to it’s handling of explicitly defined height: auto for an image.

      I had a CSS property looking like this:

      .large img {
      width: 18.75em;
      height: auto;
      }

      On proper standards-compliant browsers like Firefox this looked great, and of course was elastic – changing size with all the other em-sized stuff on the page. The height was figured out automatically (not all the pictures this is used on are the same aspect, so I couldn’t hard-code the height) and all was well with the world.

      Until we realised the images were getting squished to the wrong height on IE6…at least until you browsed to another page then used BACK to return to the messed up image, where it would magically display correctly.

      Turned out removing the height property entirely fixed the problem in IE. I guess implicit auto height is != explicit auto height in the warped world of IE CSS layout. Go figure.

    • #3078584

      More grey hairs, thanks to 3px jog and box expansion in IE

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      Wow, only my second post and it’s another IE gripe…maybe I should rename the blog to something like “The I ****ing HATE Internet Explorer Blog” 😉

      Anyway, our site was suffering the IE 3px gap layout problem, which in itself is mildly annoying, but for some reason was also causing certain elements to be forced down below the end of the navigation, leaving a big whitespace in the middle of the content. My fix was to float the content using the * html hack (YAY! Relying on a bug to fix a bug. Way to go, IE!) which has pretty much the same effect as setting height: 1% (forces IE to use the float model, by means of ANOTHER bug).

      We had a nice, prominent, graphical button showcasing a major feature of our site, right in the middle of the home page, which would cause the entire floating content to be thrown down below the navigation. Ugh.

      More research, grey hairs, and the discovery of the IE/Win Expanding Box Bug, the cause of our problem.

      So far I can find only two solutions:

      • Forcing the page width. NO. NO, and NO. Absolutely not. The site is meant to be fluid, not constrained to some stupid pixel limit.
      • Reducing the width of the image. This is the one I went with (I think it looks better that way anyway).

      There is probably a perfectly good workaround which would have helped, but I have other things to do besides fighting IE all day over one little thing. Life’s too short.

    • #3078579

      Microsoft and deliberate acts of standards sabotage

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      While CSS bug hunting earlier I stumble upon this post about the * html hack maybe being broken in IE7.

      Now, I have very few IE hacks in my code, but the few that are there are of the * html variety. Many web developers are going to be less fortunate, I’m sure.

      The paranoid, black-helicopter fearing, open-source zealot in me suggests this must be their attempt, once again, to make us all forget there are other browsers out there and code only for their users. Sorry, ain’t gonna happen.

      If it wasn’t a commercial site I’d make it deliberately broken in IE, just to make a statement.

      Just as well there are conditional comments, maybe it’s time to plan ahead before the site gets any bigger…unless of course Microsoft plan on breaking that, too.

      • #3107394

        Microsoft and deliberate acts of standards sabotage

        by geekster ·

        In reply to Microsoft and deliberate acts of standards sabotage

        Instead of making it broken in IE, why not simply pop up a message that advises users that IE is likely to be less secure than, say, Opera or Firefox?  That way, you don’t chase off potential business, but provide a service by reminding users of the security holes in IE.

    • #3078386

      Elasticated fonts – but what about the forms?

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      Maybe it’s just the time of morning (not a morning person) but it seems like changing the font sizes in IE (via View>Text Size) doesn’t have any effect on form fields.

      Cute.

    • #3080290

      Microsoft search-related patent applications

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      Interesting article about Microsoft patent applicatons related to web search. Possible future direction of MSN Search?

    • #3080264

      Open source development and security

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      InformationWeek has this article entitled “Linux Security: A Good Thing Keeps Getting Better“.

      Anyone who seriously thinks Windows is more secure than Linux/Unix, or that the open-source development model can’t produce secure, mature code, needs to read this and then reconsider their position.

    • #3080172

      Anyone for a slice of green bacon?

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      The boundaries of science and progress just keep being pushed further. The best ever flourescent green pigs have been bred!

      Apparently there are useful medical research applications for this. Hey, if it eventually helps find a cure for cancer they can make them bright purple with orange stripes for all I care.

      Equally practical, and something I’m sure they didn’t consider, is the market for St Patricks’ Day specialities. Imagine having a side of glowing green ham with your green Guinness…

      OK…maybe not.

    • #3080121

      301 Permanent Redirect (or: dude, where

      by ni2sml ·

      In reply to The Way of the Exploding Web-Browser

      I’ve moved the “Cyan Screen of Discomfort” blog over to my own domain name, it can be found at paulglover.net/cyanscreen now.

      Fixing the theming is fairly high on the priority list, but for now it’s there and it works. Probably. 😉

Viewing 7 reply threads