Re: Proposal for a scrollbar-safe width calculation

>
> Discussing the scrollbar aspect of vw/vh units, several use cases came to
> my mind where I missed a possibility to take a possible scrollbar into
> account while setting widths in the past
>
I like the idea. A use case for this is the Net panel header inside
Firebug[1].


> In use case 2, the property will be applied to the containers of both
> header and content tables, so that the tables have identical widths
> regardless of whether a scrollbar is triggered or not.
>
Regarding this scenario (the one we're facing in Firebug) it would be much
nicer if there's just one table needed. I.e. the <tbody> should be
scrollable and the header should be fixed. Thereby when setting the
property to reserve-scrollbar the horizontal space should be reserved for
the table body and head, so that the column widths of header and body do
not differ.
Currently there are different hacks to achieve this[2].

Sebastian

[1] http://code.google.com/p/fbug/issues/detail?id=2617
[2] http://www.cssplay.co.uk/menu/tablescroll.html

Received on Friday, 25 January 2013 08:01:46 UTC