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 happens with :scrolled-content { overflow: hidden; } ? Also note that in Gecko :-moz-scrolled-content doesn't apply "to the content that is scrolled" (which is what the link you quote says). It applies to the anonymous box that lives inside the scrollbars. -BorisReceived on Thursday, 9 November 2006 16:35:30 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:47 GMT