Hi

I already found out about the min-height. John & Holly didn't know the bug and decided to put it on PIE. I am not sure about Deer Park. I tested it and still got the bug, but then this is DP from 16th July, you might have the latest build.

min-height doesn't work in IE of course, so a better solution is (if possible) to calculate the height manually and fix the select box with padding top+bottom.

Did you find it in BugZilla maybe?

About my learning curve: I am still learning, after years of using only <td class="..."> ;-) I really feel ashamed when I remember telling people "no, never use id selectors. Use class selectors, they can be reused!"

Michiel

Roger Roelofs wrote:

Michiel,

On 8/4/05, Michiel van der Blonk <[EMAIL PROTECTED]> wrote:

PS: yes your right about your PS, only it's not as simple as you may think.
It never is  :-)   I'm sorry if I gave you the impression that I
thought you were new to css.  I'm just returning to the list after a
time away, and some of the people are new to me, so I don't yet know
where they are on the learning curve.


In fact we did start coding from scratch, not designing from scratch. I
also have to educate our designers to learn that it doesn't have to look
like a table. Problem: our main designer likes this look. Most of them even
work with FrontPage most of the time.
I can relate.  :-(

Latest news: I isolated the bug, and it's really strange to me, it doesn't
look like standards behaviour at all. I posted a demo to Holly & John, and
you have it too as an attachment.
Wow! _that_ is a great test case.

You may be interested to know that this bug has been fixed for the
next major version of gecko.  I tested in Deer Park alpha 2 and the
select behaves normaly.
As a work around, you could change height: 1.75em to min-height:
1.75em.  For some reason this doesn't trigger the bug.

Here's a slightly smaller test case.
---------
<form action="">
        <select name="category" style="height: 1.75em">
                <option>Testing Select Box Resize so make it really really 
long</option>
        </select>
</form>
--------
What triggers the bug is when the width of the form (or maybe just the
container) is less than the width of the select _and_ the select has a
defined height but no defined width.   I would guess that some
variable unexpectedly goes negative and that throw off the width
calculation,  but that's only a guess, and I don't care enough to go
digging around in the source  :-)
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to