Log In · Register

 
scroll box overflow, how do i change the overflow to going down only?
ABERCROMBIEandFI...
post Apr 12 2006, 09:17 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Aug 2005
Member No: 216,137



okay so i have scroll boxes on my page, but i want the overflow to only go down, not overflowing to the right. i dont want there to be a scrolly thing on the bottom, but i dont want to enlarge the scroll box. at the moment, my code is

<div style="overflow: auto; width: 300px; height: 28px; border: solid; border-color: 000000; border-width: 2px">blahblahblah</div>

i tried changing the overflow to down, but it just killed the whole box.

HELP?
 
 
Start new topic
Replies
add1cted2f1re
post Apr 12 2006, 10:01 PM
Post #2


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



add this
CODE
overflow-x: hidden;


i think

so ur code should be:

CODE
<div style="overflow-y: auto; overflow-x: hidden; width: 300px; height: 28px; border: solid; border-color: 000000; border-width: 2px">blahblahblah</div>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: