John Hosking wrote:
> Terry wrote:
>> I have a php page that delivers valid 4.01 strict using valid css. The
>> pages display fine in IE 6, Firefox, Opera with:
>> css
>
>> ul ul{
>> height: 25em // displays fine at 18em except IE7
>> }
>
> I was going to ask why you bother specifying height at all, instead of
> just letting the content take care of the appropriate vertical size for
> you automatically, but I see that you have a problem when the number of
> bullet points is small and the list items don't reach to the bottom of
> the image to their right.
>
[snip]
> One possible workaround you might try is to replace height with
> min-height, which IE7 is supposed to support although IE6 didn't. SO:
>
> ul ul{ min-height: 240px; margin-bottom:2em;}
>
> I've used px instead of em because you're only trying to get to the
> bottom of the image, and it looks as though you *always know* the height
> of the image is 240px.
Works a charm!- after I changed minimum-height ;-). I went from this
computer to my development machine (xammp), put in minimum and it did
nothing. I sometimes think language developers just switch from full
length words to abbreviations to trip *me* and it works.
> It could be that a better solution would be to revise your basic markup
> (instead of nested lists, e.g.) but I don't feel inclined to study it
> more right now. I'm supposed to be working... ;-)
>
Funny how much more fun work is when it is not work. I really
appreciate the time and effort spent. I am not having much luck
understanding fully why it works but it is clean in all tested browsers
(including IE6/7). It has the added benefit of not having all the extra
white-space my solution had on short item lists.
I would have gotten back to you sooner but my wife and I are working on
a new routine. It always amazes me how difficult that is after all
these years.
Thanks again,
--
TK
http://www.wejuggle2.com/
Still Having a Ball
----== Posted via Pronews.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.pronews.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= - Total Privacy via Encryption =---