NetTalk Central

Author Topic: Drop height in Firefox  (Read 3286 times)

GFasolt

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • GFasolt.com
    • Email
Drop height in Firefox
« on: February 18, 2010, 11:27:32 AM »
In Firefox, my drop fields are displaying at a different height than string fields. Okay in in IE.

Any solutions?

Screen cap attached.



[attachment deleted by admin]

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Drop height in Firefox
« Reply #1 on: February 18, 2010, 01:59:25 PM »
You need to add a CSS Class to the entry and drop. I have the following in my custom CSS file and then just reference the CSS in the templates for the drop entry and drop list


.DropEntry
{
   font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
   font-size: 11px;
   background-color: #FDFDFD;
   padding-left: 2px;
   border: 1px solid #BDBBBB;
     height: 18px;
   padding-right: 2px;
}
.DropEntryList
{
   font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
   font-size: 11px;
   background-color: #FDFDFD;
     height: 15px;
   padding-left: 2px;
   padding-right: 2px;
}

GFasolt

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • GFasolt.com
    • Email
Re: Drop height in Firefox
« Reply #2 on: February 19, 2010, 03:58:13 AM »
Thanks for the detailed reply. I'll tackle this asap.

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Drop height in Firefox
« Reply #3 on: February 21, 2010, 03:49:13 AM »
I have actually been cleaning up my CSS file and all you really need is the height. The rest will be inherited.

GFasolt

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • GFasolt.com
    • Email
Re: Drop height in Firefox
« Reply #4 on: February 21, 2010, 11:08:11 AM »
Thanks, this is good timing as I am just about to look at this.

GFasolt

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • GFasolt.com
    • Email
Re: Drop height in Firefox
« Reply #5 on: March 16, 2010, 05:34:39 AM »
I've just noticed that File Upload entry fields display incorrectly (3-D rather than flat) in Firefox. I tried some custom.css experiments, but no joy.

Any thoughts?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: Drop height in Firefox
« Reply #6 on: March 16, 2010, 07:56:20 PM »
The File Upload field, and button, are the bastard children when it comes to CSS. For some reason the spec forgot to talk about it so the browsers all implement it differently.

Cheers
Bruce

GFasolt

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • GFasolt.com
    • Email
Re: Drop height in Firefox
« Reply #7 on: March 17, 2010, 06:06:06 AM »
Bummer. Thanks for the background.