File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CSS Issue in Firefox

 
Thomas Greene
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this sample HTML file

and a corresponding CSS


In IE the last line "You must log in to Submit this form" is highlighted in the corresponding color. But in Firefox this highlighting disappears. Please tell me how to have this highlighting in Firefox as well.
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that it should work. In Firefox Options, check that the option "Contents/Fonts and Colors/Color Settings/Use web page settings in priority" is turned on. (I don't have an English Firefox, so I can't tell the right label names)
 
Thomas Greene
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for replying.

Options->Content->Colors there is chceck box which says "Allow pages to choose their own colors, instead of my selections above" and it is already checked. Are you refering to some other checkbox.
 
Thomas Greene
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is with this CSS class

.formfield_input_full {
position: relative;
height: 24px;
width: 603px;
background-color: #D2E8E8;
}

If I remove the width and height (spcified in pixels) then the background is displayed in Firefox as well

.formfield_input_full {
position: relative;
background-color: #D2E8E8;
}


But the width and height change considerably on doing so. PLease tell me how to specify width and height in Firefox (in pixels) while keeping the IE display intact.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is impossible for that div to be 24px high with all of the stuff you have in it.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic