Trying To Code Across All Browser Platforms
Posted by Mitch Mitchell on Sep 27, 2008
I’ve finally gone and done it; I changed the theme on my business blog, and if you’re so inclined you can take at look at it here.
I love the new theme, but of course it has some issues, just like many other sites do. One of the worst things about coding is that, sometimes, it doesn’t work across all browser platforms. Firefox is my browser of choice, and it looks perfect in Firefox; there’s nothing I can do to make it look bad. However, in IE7, I noticed that if one changes the size of the font, it suddenly doesn’t look right. I had to reduce my settings so it would fit properly, and that shouldn’t occur. It also looks bad in Opera, no matter what I do there.
The problem is with CSS, cascading stylesheets, which are great for allowing you to make changes to a bunch of webpages all at once, but sometimes is bad because not all browsers will view it properly. There’s also sometimes problems with PHP, which many people use to create dynamic sites or programs to be used on a website. Right now, for instance, some of the gaming programs on Facebook aren’t working properly in Firefox, and the programmers know it, as they’ve put out the message asking people to use IE instead.
This is a major gripe for programmers, and one of the reasons why many of us who create websites will never fully give up HTML. For all this noise people want to pass through in saying that CSS is a cleaner way to code and will allow search engines to go through your site easier, the other side of the equation is that if the sites look like they were put together by a child then who’s going to stick around to see that the code looks good? There’s one site I manage that was totally created in CSS, and it seems that every time there’s a new browser upgrade of some kind I have to go in and change something in the code to get the site to center again. Frankly it’s irritating, and makes me want to get all of the top guys for each of these browsers together and go an old Three Stooges slap on them. Heck, since I’m talking about it:
In general, I know we’re supposed to be coding for IE first, since it’s still the most prominent browser in the world, but we don’t have to like it.