shtick
01-08-2007, 07:56 PM
Alright, so I've got a scrollbar, and it WORKS perfectly, but sadly the text is too close the the scroll bar, which makes it a bit more difficult to read once the word is next to the scroll bar.
<div id=left style="position:absolute;z-index:2;top:650;left:316;
width:200;height:130;overflow:auto;cursor:crosshair">
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
</div>
Basicly, this code runs perfectly, but the last 'h' in "Blah" is too close to the scrollbar then desired. I'm wonder if there is a way to clip the text earlier to prevent the text to get too close to the scroll bar, perferrably around 5-8 pixles...?
Thanks for reading and answering.
<div id=left style="position:absolute;z-index:2;top:650;left:316;
width:200;height:130;overflow:auto;cursor:crosshair">
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
blahblahblah blahblahblah blahblahblah
</div>
Basicly, this code runs perfectly, but the last 'h' in "Blah" is too close to the scrollbar then desired. I'm wonder if there is a way to clip the text earlier to prevent the text to get too close to the scroll bar, perferrably around 5-8 pixles...?
Thanks for reading and answering.