victor NOAGBODJI wrote: > As you can see here: > http://tiger.towson.edu/~knoagb1/javascript/textslicer.html > > I'm trying to create a guideline widget for a textarea. The problem is the > big space left after the textarea due to the height of the line. > Do you have any suggestion? > >
IE has a problem with empty divisions. You need to convince it that the division is really empty. It seems that IE reserves some space for the content that doesn't exist. Believe it or not, you convince IE that the div is empty by inserting a comment in the empty div. Change the ruler div to the following: <div id="ruler"><!-- Silly comment for IE --></div> You don't need the text in the comment at all, just a comment. I usually have text of some sort there so that others know what it's for. Lori ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
