|
| |
|
|
reformed hater
Posts: 167 Joined: 2/1/2006 From: The land of sun and hurricanes; US Status: offline
|
question - 3/16/2006 12:13:38
Another dumb question from a newbie learning CSS... ok i'm using div.box { color:orange; width:400; height:300px; overflow: scroll; background-image:url('x.JPG'); background-position: center; background-attachment:fixed; background-repeat:no-repeat } to scroll a box.... I don't need the horzontal scroll how do i get rid of it?
_____________________________
When asked what the White House was like by a British student George W. Bush responded “It is White"
|
|
|
|
caz
Posts: 3582 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: question - 3/16/2006 12:41:38
In the absence of the Doc Type Diva try giving measurement units to this quote:
width:400; 400 what? ems, px or ...
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
|
|
reformed hater
Posts: 167 Joined: 2/1/2006 From: The land of sun and hurricanes; US Status: offline
|
RE: question - 3/16/2006 13:45:33
oops it's px
_____________________________
When asked what the White House was like by a British student George W. Bush responded “It is White"
|
|
|
|
caz
Posts: 3582 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: question - 3/16/2006 14:36:16
Did that solve your problem?
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: question - 3/16/2006 15:02:46
quote:
overflow: scroll; Did you try: overflow: hidden;
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
caz
Posts: 3582 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: question - 3/16/2006 15:05:33
It would help if you had a url, or show us the html
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
|
|
Tailslide
Posts: 6272 Joined: 5/10/2005 From: Out here on the raggedy edge Status: online
|
RE: question - 3/16/2006 15:34:33
quote:
ORIGINAL: caz In the absence of the Doc Type Diva try giving measurement units to this quote:
width:400; 400 what? ems, px or ... Sorry, been busy rebuilding my site (half-way through). Caz is right about adding the px but also try overflow:auto and remove the width if you want to get rid of the Horizontal scrollbar too then sit the div inside another div with a width assigned to that otherwise when your content goes over the 400px you'll get the horizontal scroll.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|