[As extracted from my private e-mailbox. That really pisses me off.
Mel, sending this stuff to my mailbox instead of replying in the newsgroup
Is a *big* mistake. You ask in this group, you discuss the rest in this
group. I'm not here to personnally aid you, unless you pay me 1.000
dollars for each answer.
If my answer is helpful to you, it can be to others too. Keep your
correspondence in here (so all gets archived to be found by others) or get
killfiled instandly.
And topposting too... another *bad*. Had you been reading here a bit, you
would have noticed this within a few posts (toppost fixed)]
"Barbara de Zoete" <b_********@hotmail.com> wrote in message
news:<opsqcwl1j5x5vgts@zoete_b>...
On Fri, 6 May 2005 09:31:57 -0400, Mel <me**********@hp.com> wrote:
is it possible to have a div so that when its height grows more than
say 100px, do an overflow:auto ?
what i really need is a div with say one line of text to be as highas
the one line is and for a 1000 line to be no more than 100px with
scrollbars displayed :-)
<http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-max-height>
<http://www.doxdesk.com/software/js/minmax.html>
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses:
----------. | weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html
[and not deleting the sig(nature) of my message... Mistake after mistake.
Do you _need_ to piss off people or something?]
i tried the suggestion,
No, you didn't. Read the _second_ url.
but it does not work on IE.
Had you actually read the second url I provided, you would have know this
*and* you would have known the solution too.
am i doing something wrong ?
All too many things, and that includes your coding.
---------------
[for clearity to others than Mel and me, I leave in the rest of his post
to my e-mail address]
thanks for your help
<style>
.xxx {
clear:right;
overflow:auto;
padding:10px;
min-width:400px;
max-width:500px;
min-height:50;
max-height:100px;
background:wheat;
color=brown;
</style>
<div class=xxx>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed
diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam erat volutpat. Ut wisi enim ad minim veniam, quis
nostrud exercitation ulliam corper suscipit lobortis nisl ut
diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam erat volutpat. Ut wisi enim ad minim veniam, quis
nostrud exercitation ulliam corper suscipit lobortis nisl ut
diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam erat volutpat. Ut wisi enim ad minim veniam, quis
nostrud exercitation ulliam corper suscipit lobortis nisl ut
</p>
</div>
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog |
http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp |
http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen |
http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'