Posted by HDI on 12/05/06 13:11
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>
Navigation:
[Reply to this message]
|