Ingo,

This is great! Your additions seem to replicate the desired rendering. 
These should work for the actual web project I'm working on as I've 
tried to make my test case a simplified version of the same structure.

For conditional comments, do you think I should target IE6+ with these 
additions? Out of curiosity, does IE7b2 render the table similarly to 
IE6 (ie, off the screen) without your two additions?

Lastly, how did you know that 'flow:left' and 'zoom:1' would do the 
trick? I vaguely remember the redundant but effective 'zoom:1' being 
mentioned in an article. Is either or both documented elsewhere?

Thanks again!

Brett

PS - Hopefully I've replied to the list properly. I now see how time can 
be switched if I reply to the message that appears /before/ the one from 
css-d.

Ingo Chao wrote:
> Brett Leber wrote:
>> Example 1: http://www.andrew.cmu.edu/user/bleber/css/table_test1.html
>> Example 2: http://www.andrew.cmu.edu/user/bleber/css/table_test2.html
>>
>> The innermost table contains many cells in a single row longer than most 
>> browser widths. To display it in the current page, I've used a container 
>> div with overflow:scroll, and a width of 100%. When this table appears 
>> within the divs alone, the overflow works correctly--the table is no 
>> larger than the current browser (viewport) width, and scroll bars appear 
>> [example 1]. When this table appears within a table used for page 
>> layout, however, the width of the container div stretches to show the 
>> entire table, past the viewport's boundaries, producing a horizontal 
>> scroll bar in the browser [example 2]. 
>> How can I make example 2 display like example 1?
> 
> for
>   http://www.andrew.cmu.edu/user/bleber/css/styles.css
> 
> add
> 
>   #preview {... float:left; }
>   #contents {...      zoom: 1;}
> 
> and hide these from other browsers.
> Works here for IE6 + IE7b2.
> 
> /*<---->*/
> 
> Brett, and the one or other who might read this:
> 
>    please use /bottom/ posting on this list.
> 
> For those who read the digest, or those who just try to read and answer 
> more than one post per evening, it becomes nearly impossible to read 
> when the flow of the time is switched more than once per digest.  ;)
> 
> Ingo

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to