Jump to content

Admin's Blog

  • entries
    37
  • comments
    605
  • views
    110,461

Programming Woes

Sign in to follow this  
admin

649 views

I spent much of the afternoon today working on a small addition for the navigation menu in Tour of Generals. It seemed like it was going to be a fairly simple addition at first. I made the necessary modifications and loaded it up to test in FireFox - looked great, loaded it up in Google Chrome - looked great, loaded it up in Internet Explorer - FAIL. I'm not one to bash any web browser as they each have their own benefits as well as drawbacks but this recent episode really made me agree with this chart:

web-design.gif

Some of the problems that I came across just tonight with IE were:

  1. IE renders PNG images different than FireFox. Images with dark backgrounds appear even darker in IE than they should thus making them look like crap. To get the image to look right across all browsers it had to be saved in JPG format. <_<
  2. IE does not support the CSS inline-block attribute. I ended up having to hack my code like this [style=display:inline-block;zoom: 1;*display: inline] just to make it cross browser compatible. :blink:
  3. The Flash based maps on the site had to be modified because the new navigation menu would drop down below the flash movie. I got this problem all fixed up and then realized that Google Maps has the same problem. I had to do some goofy stuff with the CSS z-index attribute to all make that work. :wacko:

I don't normally have this many frustrations like this. I've been doing web programming in one form or another for over 10 years and during those 10 years web standards for browsers have gotten better but we still have a long way to go (aahem..IE...hem).

After I was all finished my daughter Emily who is almost 2 years old ran up and sat down beside me and we have this little game where I look up an image of an animal on the computer and she tells me what it is, much like flash cards but with Google Images. She lets me know that she wants to play because she flops down beside me, and with (usually sticky) fingers pointing at the computer screen she says, "Horse? Horse? Horse?" So we got to look at horses, monkeys, and ducks to wrap up the evening and with that all was right in the world again. :)

Sign in to follow this  


9 Comments


Recommended Comments

My friend who does a lot of web design ran into some similar problems with IE (he does his web designs from bare code, and while I know nothing about programming, it sounds like you do the same). He made a page work fine in Firefox, but as soon as he tried it on IE, he ran into problems. After reworking the problems so that it would run fine in IE, the code ended up being 4 times longer than it was originally.

Share this comment


Link to comment
Why, thar be naughty words in that.

Though I must say the part about your daughter was cute. I want kids :(

certain things are too terrifying to contemplate.......

@admin-have you considered getting your daughter to program? A two year old can probably understand the micrsoft better than grown ups as it was apparently designed by one.

Share this comment


Link to comment

HAHA. Funny.

Ironically, when making stuff for the MFO forum, we make it work for IE first. Then buti_oxa, basically the guy that does everything code-related, tests on firefox etc. for compatibility. Whenever there is a bug, it's always because of firefox... I wonder if it's because he may or may not work for Microsoft, and finds that IE is actually inherently intuitive...

Share this comment


Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...