Previous Message
Next Message

Re: [css-d] ? on table widths and CSS1/2

Sent by Big John on 15 August 2002 04:04


Timothy Stone wrote:

> <------ viewport/monitor width ------------>
> +------------------------------------------+
> |  menu     blah blah blah blah     menu   |
> |  menu     blah blah blah blah     menu   |
> |  menu     blah blah blah blah     menu   |
> |  menu     blah blah blah blah     menu   |
> |                                          |
> |           <---table 100% --->            |
> |           +-----------------+            |
> |           +    msie 6.0     +            |
> |           +    moz/nscp     +            |
> |           +-----------------+            |
> +------------------------------------------+
>                                            .
>                                            .
>                                            .
> <------ viewport/monitor width ------------>
> +---------------------------------------------------------+
> |  menu     blah blah blah blah     ....   .              |
> |  menu     blah blah blah blah     ....   .              |
> |  menu     blah blah blah blah     ....   .              |
> |  menu     blah blah blah blah     ....   .              |
> |                                   ....   .              |
> |           <------ table 100% of viewport .----------->  |
> |           +                              .           +  |
> |           +       this is the behavior   .           +  |
> |           +       msie 5.5/Win. it looks .           +  |
> |           +       as if 100% is calc'd   .           +  |
> |           +       on the width of the    .           +  |
> |           +       viewport/window        .           +  |
> |           +------------------------------.-----------+  |
> +------------------------------------------.--------------+
>                                     .      ^--window edge
>                                     .         resulting in
>                                     .         horizontal
>                                     .         scroll! arg! 
>                                     .         
>                                     ^-- menu hidden by
>                                         table due to built
>                                         in behavior of 
>                                         bluerobot's layout

Yes indeed, when an element is given any width, and it is 
next to a left float, IE5.x/win treats the space next to the
float as tho it was part of the body margin, and treats that 
space as '100%'. But you have opposing floats, and a table 
between as well. This is going to force me to rethink my 
upcomming demo on this subject. (I knew there was a reason
why I was dragging my...  um, I mean, 'delaying the project')

Try nesting the table inside a non-width defined div.
(I have a funny feeling this won't work)
HTH?
Big John

=====
"What the world needs is a good bug ring"--Big John
<http://users.rraz.net/mc_on_the_rocks/testpage/pie.html>

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
Previous Message
Next Message

Message thread: