0

hi, so, i want to put an image as my background right where the header is, so i am guessing this will be a vector? Now, i have built plenty of site, but usually i don't include many images, its usually just css for me, my main concern of this is when you re-size the browser or have a different size browser you get them horrible scroll bars, up and down is fine, left and right i don't like, is there anyway around this or have i had a bad introduction to images in sites?

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by dlannetts
1

Browsers don't show scroll bars for background images, only the block level objects. If you use an <img> or a table it might show scroll bars. But using background image it shouldn't.
If you put the background on <body> you should be fine. If you put the background in a <div>, you'll have to set a height/width on the div or it'll shrink to nothing because background images don't stretch their containers.

No harm in trying it, pretty simple to test! Good luck

0

Browsers don't show scroll bars for background images, only the block level objects. If you use an <img> or a table it might show scroll bars. But using background image it shouldn't.
If you put the background on <body> you should be fine. If you put the background in a <div>, you'll have to set a height/width on the div or it'll shrink to nothing because background images don't stretch their containers.

No harm in trying it, pretty simple to test! Good luck

Ahh, right, i must have tried it wrongly once and had bad impressions about it, thank you for this : )

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.