Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cross browser issues

 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I seem to be doing all right untill I start testing my sites in different browsers. it seem to be working in IE7 but not in IE6 or firefox (different issues. I hope my code isn't half that bad)

Mozilla is more friendly , but lot of issues with IE6 .

How can i debug or change or what should the approach i need to follow ?

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure the browser is in compliance mode by setting a doc type: http://www.w3.org/TR/html4/struct/global.html

Validate your mark up with the W3C validators.

Eric
 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great , thanks for the reply. I will be working on that.
 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eric ,

i did not understand your answer .

Till now i did not set any DTD type for my JSP .

What do you want me to set

1.Strict
2.Transitional
3.Frameset

Please reply.
 
Brian Legg
Ranch Hand
Posts: 488
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would go with a Strict DTD. Read this article, it should help you a lot and it's short DTD

That won't guarantee cross-browser compliance, but it will help. There are many pitfalls related to positioning that will render different in IE and FF depending on the version you use. Read up on IE vs FF with regards to absolute, inline, etc positioning. Once you get your page structured correctly in multiple browsers then you can concentrate on how it actually looks. Post some links or CSS if you have a specific area you can't seem to get corrected.

HTH
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64858
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One word: jQuery.
 
Brian Legg
Ranch Hand
Posts: 488
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear.... I thought JQuery was for JavaScript? I assumed he was talking about CSS/Styling issues. What does JQuery have to do with that?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64858
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It will handle almost all cross-browser issues, even with CSS.

And, I did not make the same assumption.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic