You are here: Re: Div scrollbar overlapping lower part of table « HTML « IT news, forums, messages
Re: Div scrollbar overlapping lower part of table

Posted by Neredbojias on 08/09/07 02:38

Well bust mah britches and call me cheeky, on Thu, 09 Aug 2007 00:53:33 GMT
phl scribed:

> Hello
>
> I have div element and within it, I have a table. Basically I want to
> use the Div to restricit the table to a certain width, and if it goes
> over this width, the user is then presented with a scroll bar.
> Everything works fine, except in IE7, when the table renders over a
> certain amount of rows, and the Div displays the scroll bar. The last
> row of the Table is obscured by the scrollbar created by the div. It's
> almost like the div did not create extra height for the horizontal
> scroll bar it displaying. The same problem does not happen in Firefox.
> The below is the html, I am using:
>
> <div style="width: 100px;overflow-y: hidden;overflow-x:
> auto;position:relative;">
> <TABLE width="100%" align="center">
> <TR>
> ...
> ...
> </TR>
> </TABLE>
> </div>
>
> Can someone please explain whats going on and a possible work around?

Sounds like an ie bug, but as Adriuenne said...

--
Neredbojias
Half lies are worth twice as much as whole lies.

 

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

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