|
Posted by BootNic on 01/06/07 23:59
> pbx <pbeisel@gmail.com> wrote:
> news: 1168116963.710541.168030@38g2000cwa.googlegroups.com
>>>
>>> style="width:100%;overflow:scroll;overflow-y:visible;overflow-x:scroll;"
>>>
>>> unfortunately it doesn't change anything obvious.
>>>
>>> does it matter than the contents of the div is a table?
[snip]
> ok, here is some simple HTML that demonstates the problem. copy and
> paste into a text file and then open with IE 7 and then Firefox.
>
> the first div, byitself, scrolls as desired.
>
> the second div, enclosed in a simple table, doesn't scroll.
>
> the div contents and style attributes are identical, the second one is
> simply enclosed in a table.
>
> <div
> style="background-color:WhiteSmoke;width:100%;overflow:scroll;overflow-y:visible;overflow-x:scroll;">
> <table>
[snip]
> </table>
> </div>
>
> <br><br>
>
> <table>
NO...embedded tables...pure evil I tell ya.
At any rate you could add style="table-layout:fixed;"
> <tr>
> <td>
>
> <div
> style="background-color:WhiteSmoke;width:100%;overflow:scroll;overflow-y:visible;overflow-x:scroll;">
> <table>
[snip]
> </table>
An alternative layout could be just images within the div, and add
white-space:nowrap; to the rest of the inline style.
--
BootNic Saturday, January 06, 2007 6:59 PM
I try to take one day at a time, but sometimes several days attack me
at once.
*Jennifer Unlimited*
Navigation:
[Reply to this message]
|