taith Posted January 9, 2007 Share Posted January 9, 2007 anyone wanna take a stab at why my overflow:auto never works?for example...[code]<style>.test{ height:300px; overflow:auto; }</style><table> <tr> <td class=test><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>x</td> </tr></table>[/code]and i... get no overflow... just me usual table :-( ??? Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/ Share on other sites More sharing options...
jcombs_31 Posted January 9, 2007 Share Posted January 9, 2007 you need to set a width. Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/#findComment-156795 Share on other sites More sharing options...
weknowtheworld Posted January 10, 2007 Share Posted January 10, 2007 Look at this [url=http://www.quirksmode.org/css/overflow.html]link[/url] for an active e.g Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/#findComment-157149 Share on other sites More sharing options...
taith Posted January 10, 2007 Author Share Posted January 10, 2007 still nothing....[code]<style>.test{ height:200px; overflow:auto; width:10px; }</style><table> <tr> <td class=test><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>v</td> </tr></table>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/#findComment-157235 Share on other sites More sharing options...
ToonMariner Posted January 10, 2007 Share Posted January 10, 2007 can a td element have a scroll bar? a div definitely can so why not use one there? Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/#findComment-157267 Share on other sites More sharing options...
taith Posted January 10, 2007 Author Share Posted January 10, 2007 ... :-( i wants it to work on a table... but i dont see that happening :-( :'( it works on div's Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/#findComment-157299 Share on other sites More sharing options...
Ninjakreborn Posted January 10, 2007 Share Posted January 10, 2007 [quote]11.1.1 Overflow: the 'overflow' property'overflow' Value: visible | hidden | scroll | auto | inherit Initial: visible Applies to: non-replaced block-level elements, table cells, and inline-block elements Inherited: no Percentages: N/A Media: visual Computed value: as specified[/quote]It is suppose to work on table cell's, it's something else causing you that problem. Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/#findComment-157529 Share on other sites More sharing options...
taith Posted January 10, 2007 Author Share Posted January 10, 2007 ya... i know its supposed to... but it never ever ever ever has :-( Quote Link to comment https://forums.phpfreaks.com/topic/33471-overflow/#findComment-157556 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.