Discussion Locked

Browser Specific Problem

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

If we use size property in input type file
and style in buttons in IE4 it's acting differently, the alignment is totally off in these browser.

5 replies

by ebob

That's "correct". It's not "right", but it is "correct".

Different browsers, even different versions of the same browser, will interpret such properties differently.

So what to do?

1 - Develop multi-platform versions of your web files. Thismight be through a browser sniffer that sets up pages differently for different browsers (see www.javascript.com and look in the sections about DHTML)(see also several books on web design and DHTML)
2 - Reduce dependency on layout/stylesheets/etc. Yeah, yeah, I know, reducing dependency on stylesheets is not "modern". But then again, until all browsers render these properties in the same manner, we're continually battling this sort of evil stuff.

by tony derosa

Just a note, if you haven't already, check the same browser versions on Mac and you will see still more discrepencies.

Also, Opera is a good test to see if you are compliant.

This discussion is closed to new replies.