CSS Improvements

Steve McKenzie - June 19, 2008 - 04:48
Project:Better Select
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Attached is a patch that improves the CSS.

1) replaced max-height with height so it works in IE6

2) added position:relative to fix the good ol' fun IE6 rendering issue

3) removed the unneeded line-height

4) changed the active state highlight to look like the autocomplete list with the nice drupal blue :)

AttachmentSize
betterselect_css_improvements.patch720 bytes

#1

Steve McKenzie - June 19, 2008 - 04:48
Status:active» needs review

status change..

#2

webchick - June 24, 2008 - 22:31
Status:needs review» needs work

I like the colour change, however it results in the following when there are fewer than 10 items.

AttachmentSize
Picture 1.png 10.33 KB

#3

Steve McKenzie - June 26, 2008 - 10:30

ahh i see.

well, maybe we should just use JS to set the height since min- max-height wont work in IE?

#4

webchick - June 26, 2008 - 13:13

I suppose it's more often that a user will have IE than a user having JS disabled (even though I frequently have JS disabled, which means a huge glop of checkboxes for me on every node ;)).

Is it possible to do CSS for every other sane browser, and JS as a crutch for IE? Or is it better to just do it one way (JS) that works for (most) everyone?

I leave it to your discretion. :D

#5

Steve McKenzie - June 27, 2008 - 05:42

im fine with that.

i'll do the js for IE6 only.

#6

arhak - October 15, 2008 - 00:22

subscribing

#7

Mark Theunissen - February 27, 2009 - 14:12

Can I go ahead and do some of these CSS changes? How were you going to do IE specific fixes?

What problem does the position: relative solve?

Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.