By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,760 Members | 955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,760 IT Pros & Developers. It's quick & easy.

javascript to adjust CSS for an easy migrate from mozilla webappto IE webapp

P: n/a
Hello. We recently designed a webapp and because most HQ staff use FF,
we designed it based on FF. Now we extend this webapp to allow
sub-offices in other cities to use the webapp, they use IE, and the look
is terrible, CSS positions are very wrong.

I can find all the difference between IE and mozilla and correct every
positioning by providing two stylesheets for Mozilla and IE. But this is
a lot of work. I wonder if there are existing javascript or htc
(javascript behavor modifier) that I can introduce that automatically
fix a lot of problems (and I'll manually address the problems that are
NOT fixed by this script). Does such script exist?
Aug 4 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Zhang Weiwu <zh********@realss.com> wrote:

[ IE goofing up ]
I wonder if there are existing javascript or htc (javascript behavor
modifier) that I can introduce that automatically fix a lot of
problems (and I'll manually address the problems that are NOT fixed
by this script). Does such script exist?


Yes, there is: http://dean.edwards.name/IE7/overview/

Make sure to use a DTD that triggers standards compliant mode for best
results.

Bye,
Martin

Aug 4 '05 #2

P: n/a
Zhang Weiwu <zh********@realss.com> skreiv Thu, 04 Aug 2005 10:25:40 +0200
Hello. We recently designed a webapp and because most HQ staff use FF,
we designed it based on FF. Now we extend this webapp to allow
sub-offices in other cities to use the webapp, they use IE, and the look
is terrible, CSS positions are very wrong.

<snip>

Which is a very good argument for designing with standards *first*, then
apply fixes for various rendering bugs in the UAs later. Saves a lot of
time & frustration.

- Y J Landro

--
Bruker Opera sin revolusjonerande e-postklient: http://www.opera.com/mail/
Aug 6 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.