Closed Bug 34036 Opened 24 years ago Closed 24 years ago

[FIX]setting CSS2 absolute positioning for input tags breaks select drop-down button position

Categories

(Core :: Layout: Form Controls, defect, P3)

All
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 27806

People

(Reporter: mike, Assigned: rods)

Details

Attachments

(1 file)

If defining position: absolute; for input tags, the position of the drop-down
button associated with a select tag is badly wrong. If you assign an absolute
positon to the select, the drop-down button gets placed at x,y: 0,0.

See the attached demo file.

This is for build 2000032909 on both linux and windows
Adding this position rule fixes it:

/* combobox button */
select > input[type="button"] {
  position: static !important;
  white-space:nowrap;
  border: outset 2px rgb(204, 204, 204);
  background-image:url("arrow.gif");
  background-repeat:no-repeat;
  background-position:center;
  width:12px;
  height:12px;
  -moz-border-radius:0px;
}
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: setting CSS2 absolute positioning for input tags breaks select drop-down button position → [FIX]setting CSS2 absolute positioning for input tags breaks select drop-down button position
It's funny we both had the same bug and arrived at the same place

*** This bug has been marked as a duplicate of 27806 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified dupe "SELECT element breaks up with style position:absolute; on INPUT"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: