W3C home > Mailing lists > Public > www-style@w3.org > November 2006

[CSS3][selectors] Scrolled pseudo class

From: Markus Jonsson <carnaby@passagen.se>
Date: Thu, 9 Nov 2006 17:12:07 +0100 (CET)
Message-ID: <5213128.1163088727477.JavaMail.apache@eni-cpps15.sth.basefarm.net>
To: www-style@w3.org

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?
Received on Thursday, 9 November 2006 16:12:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC