Re: [CSS3][selectors] Scrolled pseudo class

Markus Jonsson wrote:
> I would want to propose a pseudo class like this one: http://www.blooberry.com/indexdot/css/syntax/pseudo/pclassscrolledcontent.htm for 
> elements that are in a state with scrollbars. Because, in a case like this:
> <div style="background-color: red; height: 100px; overflow: auto"> <table border="1">...</table> </div>
> ...normally there should be no padding between the TABLE and the DIV.
> However, if a vertical scrollbar appears, you might wan't to apply a small padding-right to the DIV, so that the scrollbar doesn't lie 
> directly to the table border. Comments?

What you are really looking for is overflow-state-based events.
onoverflowchange or something.

</Daniel>

Received on Thursday, 9 November 2006 16:45:11 UTC