At 2/2/2007 05:44 PM, Cole Kuryakin wrote:
What I want to do is target any "img" within the site

img {
...
            overflow:hidden;
}

with overflow:hidden - but for some reason, it's not working.


Overflow applies to the contents of a block, not to the block itself. img{overflow:hidden} would make sense only if an image could have content, e.g.:

        <img>
           <something />
        </img>

but that's not HTML.

See:

CSS 2.1 Specification
11 Visual effects
11.1 Overflow and clipping
http://www.w3.org/TR/CSS21/visufx.html#overflow-clipping

Regards,

Paul
__________________________

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to