aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes CSS Issue in Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "CSS Issue in Firefox" Watch "CSS Issue in Firefox" New topic
Author

CSS Issue in Firefox

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 126
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

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)


[My Blog]
All roads lead to JavaRanch
Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 126
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

Joined: Aug 09, 2004
Posts: 126
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
It is impossible for that div to be 24px high with all of the stuff you have in it.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CSS Issue in Firefox