alt131 - 12:40 pm on Jul 1, 2011 (gmt 0)
Hi John, just because you are an amateur doesn't mean you have to aim for a lower standard ;) Ask if anything "passes over your head".
Recall you have two issues and the critical one has not been dealt with: That is that your users must be able to use the form. For me, it was useable in ie6 and 8 (don't forget 9 - which I can't test). So only ie7 is critical. I did not test ie<6 as unless you are in an environment where they are prevalent you are unlikely to see them, so not worth worrying about.
The styling is secondary. This is not print. Users will be surfing with their settings that over-ride your styles, only have browsers partially open, and more, so accept variations. The question is what range of variations to accept, and there are so many browser versions, platforms and devices it is impossible to test and code for them all. What you are talking here are legacy versions, and most coders only give them limited time as they are on their way to being non-existent. Ask yourself whether the slight display variation makes enough of a difference to be worth the time and effort.
The reason for browser display variations is historical - some of those versions pre-date the current standards. Other browser/versions did not conform. There are no 100% conforming browsers as we speak, and contrary to the fashionable view, it is not just internet explorer. The reason I have been suggesting you go back to your code and locate the cause of the issue is because once you do that it is frequently possible to code to avoid "compatibility issues".
If you are posting to other forums, I expect you will receive lots of advice suggesting this or that snippet to "fix" the problem. However, as you are discovering, the more code you add, the more code to break. The regulars in this forum also know those "fixes". Just many of us take the approach that the best help for a starting coder isn't fancy code - rather understanding code enough to avoid them.
Yes. Search on "conditional comment" as already suggested, and the page I mentioned - at quirksmode - will be near the top. That has a good explanation and examples of how they work. However, I note the example is a link to stylesheet - presumably one for ie. That sounds easy, but it will block all other downloads until complete. So if it is necessary to send to ie, I would use the conditional comment to send the styles rather than link to a separate file.
<!--[if IE 7]>
<link rel=”stylesheet” type=”text/css”
Can I do the same for 5 and 6, by simply changing the number?