By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,627 Members | 1,211 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,627 IT Pros & Developers. It's quick & easy.

<htmlarea>

P: n/a
Hi everyone,

The question is below :

<br>
<div style="position: absolute; width: 500px; height: 100px; overflow:
auto; border: 1px solid blue;">

I <b>can</b> include there some HTML code.<br>

<div style="color: green">
This is neat <b>BUT</b>:
</div>

My issue now is that I'd like to be able to scroll this content
without using the scrollbar i.e :<br>
by using the mousewheel (works only in IE)<br>
and by using the keyboard arrows like in a normal textarea zone.<br>
This is done in many webmail sites.<br>
But how can I do that ?<br>
Many thanks in advance for your answers !

</div>
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Can't be done on an object like this
The page it appears on gets preference when it comes to scrolling.. best bet
is to use an iframe instead
The just target it by dropping the content/HTML into it...
"Buzzy" <bu*******@hotmail.com> wrote in message
news:3f*************************@posting.google.co m...
Hi everyone,

The question is below :

<br>
<div style="position: absolute; width: 500px; height: 100px; overflow:
auto; border: 1px solid blue;">

I <b>can</b> include there some HTML code.<br>

<div style="color: green">
This is neat <b>BUT</b>:
</div>

My issue now is that I'd like to be able to scroll this content
without using the scrollbar i.e :<br>
by using the mousewheel (works only in IE)<br>
and by using the keyboard arrows like in a normal textarea zone.<br>
This is done in many webmail sites.<br>
But how can I do that ?<br>
Many thanks in advance for your answers !

</div>

Jul 20 '05 #2

P: n/a
"Dominique" <ni****@webadstudio.com> wrote in message news:<c4**********@ctb-nnrp2.saix.net>...
Can't be done on an object like this
The page it appears on gets preference when it comes to scrolling.. best bet
is to use an iframe instead
The just target it by dropping the content/HTML into it...


You're right, thank you, it works with the mouse wheel if I use an
iframe but I'd also like to be able to have my cursor in it and use
the keyboard arrows like in the html areas that we use to have when
composing a mail on a webmail site.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.