You are here: Re: Scrolling div in firefox? « HTML « IT news, forums, messages
Re: Scrolling div in firefox?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация