...

View Full Version : <div> layer overflow question



SilentDrive
06-02-2005, 12:45 AM
This is the script I have:

<div id="Headlines" style="width: 130; height: 240; overflow: scroll;">

and I want it to only show the vertical scroll bar upon overflow. Is there a way to do that. Also can the scroll bars remain hidden until there is overflow?

Thanks

trancedm
06-02-2005, 01:08 AM
This is the script I have:

<div id="Headlines" style="width: 130; height: 240; overflow: scroll;">

and I want it to only show the vertical scroll bar upon overflow. Is there a way to do that. Also can the scroll bars remain hidden until there is overflow?

Thanks

use overflow: auto instead of overflow: scroll

here's an example for css overflow property
http://www.r2xdesign.net/viewcontent-33

hope that helps

SilentDrive
06-02-2005, 01:15 AM
Much thanks too you. I figured it was something simple but I'm still rather new to CSS... thanks again

trancedm
06-02-2005, 01:38 AM
no problem :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum