Closed Bug 111132 Opened 23 years ago Closed 23 years ago

css for selectbox

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 106317

People

(Reporter: micval, Assigned: rods)

Details

0.9.6 seems to ignore css class for <select>, with which 0.9.5 didn't have any
problem (other form elements look fine..)

I use something like this, but mozilla displays default selectbox:

  .selectbox
  {
    border-left-style: solid;
    border-left-width: 1;
    border-left-color: #000000;
    border-right-style: solid;
    border-right-width: 1;
    border-right-color: #000000;
    border-top-style: solid;
    border-top-width: 1; 
    border-top-color: #000000;
    border-bottom-style: solid;
    border-bottom-width: 1;
    border-bottom-color: #000000;
    background-color: #EEEEEE;
  }
Umm, you do of course realize that a good part of your CSS is invalid?  Your
widths need a unit (px, em, in, cm, ...)

And you do of course realize that your CSS is better written as:

 .selectbox
  {
    border: 1px solid #000000; // or:   1px solid black;
    background-color: #EEEEEE;
  }

-> Form Controls.  I'll upload a testcase shortly.  I pretty sure this is INVALID.
Assignee: asa → rods
Component: Browser-General → HTML Form Controls
QA Contact: doronr → madhur
Okay, my local tests still didn't work even with correct CSS, so I queried
bugzilla and found the problem.

Read the comments on bug 106317 for details.  Duping.

*** This bug has been marked as a duplicate of 106317 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.