Click to See Complete Forum and Search --> : scroll bars
speaker
02-08-2003, 05:27 PM
All right, forgive me if this seems really terribly easy, but how can you make it so a page has no horizontal scroll bars? There are no frames, and it's just an individual, stand alone page. I just have a larger background for different screen sizes and dont want it stretching out on smaller screens.
hope that makes sense.
How did you embed your background? <body background="your.gif"> shouldn't scroll horizontally if it is larger than your page...
speaker
02-08-2003, 05:50 PM
oh jeez, i'm sorry. I meant to say it's a picture, not a background. It's just a large bar at the top. I didn't make it a background because of the placement. is there any way to do this?
Stefan
02-09-2003, 01:37 AM
Originally posted by speaker
oh jeez, i'm sorry. I meant to say it's a picture, not a background. It's just a large bar at the top. I didn't make it a background because of the placement. is there any way to do this?
<body style="background:url(image.gif) no-repeat 100px 0;">
If it's a 1 color bar I would make it only 1px wide and use repeat-x to make it cover the exact width of the page.