File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Browser compatibility issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Browser compatibility issues" Watch "Browser compatibility issues" New topic
Author

Browser compatibility issues

Gaurav Sharma
Ranch Hand

Joined: Jan 30, 2007
Posts: 30
I am getting issues with browser on applying css.

CSS code:

.test2{

width:326px; /* All browsers */
*width:295px; /* Over ride for IE7 */

}

html code-
<INPUT id=userName maxLength=76 name=userid autocomplete="off" class=test2>

This code is running fine on windows / IE7 and Safari 4.0.1. But not running on firefox 3.6

Can anyone please help me out of this situation?

Regards
gaurav
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60737
    
  65

There's no code there to "run". So what exactly do you mean by "not running"?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gaurav Sharma
Ranch Hand

Joined: Jan 30, 2007
Posts: 30
No running means - is not rendering on Mozill
The css i used is displaying the text boxes of equal size on IE7 & Safari 4.0.1 but not on Mozilla 3.6.

Could you please help me ?
regards
gaurav
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60737
    
  65

What is happening on Mozilla? Please take as much care when posting as you would like people to take when replying.
 
jQuery in Action, 2nd edition
 
subject: Browser compatibility issues
 
Similar Threads
Multiple tabs in IE7 browser sharing the same session
ie conditional comment not working for xhtml file
navigator.userAgent wrong IE version detection
JApplet containing JTextfields within a JMenubar
Float problem