|
Posted by Jonathan N. Little on 12/05/06 16:11
HDI wrote:
> Neredbojias schreef:
>
>> To further the education of mankind, "HDI" <hdinf@hotmail.com> vouchsafed:
>>
>>> 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;">
>> This:
>>
>> <div style="width=300px; height=100px; overflow=auto;">
>>
>> wrong semantics.
>>
>> Should be:
>>
>> <div style="width:300px; height:100px; overflow:auto;">
>>
>> ...and is preferably placed in a head css section or stylesheet.
>>
>> --
>> Neredbojias
>> Infinity has its limits.
>
>
> CSS ok but this is only a test.
>
> What about this:
>
> Start at 200 an use only the rest of the sreen.
>
> <table height="100%" width="100%">
> <tr height="150px"><td></td></tr>
> <tr height="50px"><td></td></tr>
> <tr><td>
> <div style="overflow:auto;height:100%;width:100%;">
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
>
> a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>
> </div>
> </td></tr>
> </table>
>
Why a table! Don't look like tabular data to me, just a list of what
will be "links?"
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|