Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

So I'm a relatively junior programmer, been doing it for a couple years now and have been recently working on a redo of the company's website, and have ran into some frustrations and was just wondering if that's the way it goes or if I'm missing something. I am by no means a designer, I focus on the code and don't pay much attention to how pretty it looks, that's someone else's job as far as I'm concerned.

That being said, I have been working on getting some things to work and the cross Browser problems have made me hate Web Development. I try to get html5 videos and no go, put in a flash backup and only works on half. Throw a Google api in and it looks like crap in ie and opera. The actual code behind doesn't work in ie7. It just seems like one thing after another. As I said I'm new to Web Development. Is this just the way it is? Throw some basic code in, then take all day/week to make it work everywhere? I've cooled off since my initial frustration but I'm just wondering if this is normal practice or how typical web programming goes, because it seems pretty lousy to be right about now. Thanks!

share|improve this question
    
    
Not directly related to your question, but because of your video problem, have you considered using jwplayer? It handles all the HTML5/Flash incompatibility problems for you when doing video. Although learning effort needed as well, I had good experience with it. –  Uooo May 6 '13 at 6:45
    
I am not sure if this is a good question which fits well in a Q&A format. It sounds more like a rant. Maybe you can edit it so that it is answerable? Currently, it looks like you want to hear an answer like "Yeah, that's web development, it sucks". –  Uooo May 6 '13 at 6:49
add comment

marked as duplicate by gnat, thorsten müller, Bart van Ingen Schenau, GlenH7, MichaelT May 6 '13 at 13:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

In the beginning, there were standards. Then, every browser decided to interpret them differently, add new features, and just plain forget the standard. Unfortunately, coding against all these browsers is a headache. Most of the normal layout will "just work," but fancy things (HTML5, CSS3, etc.) will not work in older versions of IE and probably doesn't work quite the same across all browsers (we have the standard border-shading CSS property, the -webkit and -mozilla prefixes for older versions of those browsers, and ActiveX filters to make IE do the same thing).

There is some hope, though. Browsers are getting better every release. IE 10 is far more compliant than IE 7, which is something you specifically called out. There are also HTML 5 shims that you can use to add some support for older browsers. JavaScript frameworks like jQuery iron out peculiar DOM bugs and other inconsistencies in implementations (although you'll want to use the 1.9 branch rather than the new 2.0 branch to keep support for legacy browsers). The web is slowly getting better, but until we can all agree on everything, you have ease of programming, browser support, and functionality to consider. You can only pick two.

share|improve this answer
    
It comes with the territory - as a web engineer / developer you have to dabble with scripting , styling et al - & not just the logic - to varying levels depending on the app. And cross browser compatibility is a cornerstone for most modern webapps so you don't have a choice - just know that with more experience you will learn your way through each browsers implementation. –  Sandeep May 6 '13 at 5:12
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.