That is working perfectly.
For future reference, the exact code that I used is:
* html .viewer pre {
height: expression( this.scrollHeight > 499 ? "500px" : "auto" );
}
Thank you very much for your help FND.
mole
On Nov 19, 11:29 am, FND <[EMAIL PROTECTED]> wrote:
> > * html .viewer pre, /* IE6 */
> > *:first-child+html .viewer pre { /* IE7 */
> > height: expression(this.offsetHeight <= 100 ? "100px" : "auto");
> > }
>
> Silly IE - those two selectors cannot be combined*, so you'll have to
> repeat the CSS property assignment:
> * html .viewer pre { /* IE6 */
> height: expression(this.offsetHeight <= 100 ? "100px" : "auto");
> }
> *:first-child+html .viewer pre { /* IE7 */
> height: expression(this.offsetHeight <= 100 ? "100px" : "auto");
> }
>
> -- F.
>
> *http://www.webdevout.net/css-hacks#in_css
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---