Posted by Jonathan N. Little on 12/04/06 14:48
HDI wrote:
> Hi,
>
> How do i get a scrolling div in firefox, works in IE but what should I
> do to make it work in firefox?
>
> <table>
> <tr>
> <td><div style="width=300px; height=100px; overflow=auto;">
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Try CSS syntax!
style="width: 300px; height: 100px; overflow: auto;"
Also why all the TABLE rubbish? Looks like a links list to me.
<ul style="width: 300px; height: 100px; overflow: auto; list-style: none;">
<li><a href="#a">a</a></li>
<li><a href="#aa">a</a></li>
<li><a href="#aaa">a</a></li>
<li><a href="#aaaa">a</a></li>
<li><a href="#aaaaa">a</a></li>
<li><a href="#b">a</a></li>
<li><a href="#c">a</a></li>
<li><a href="#d">a</a></li>
<li><a href="#e">a</a></li>
<li><a href="#f">a</a></li>
<li><a href="#g">a</a></li>
<li><a href="#h">a</a></li>
<li><a href="#i">a</a></li>
<li><a href="#j">a</a></li>
<li><a href="#k">a</a></li>
<li><a href="#l">a</a></li>
<li><a href="#m">a</a></li>
<li><a href="#n">a</a></li>
<li><a href="#o">a</a></li>
<li><a href="#p">a</a></li>
<li><a href="#q">a</a></li>
<li><a href="#r">a</a></li>
</ul>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|