2012-02-11, 12:54 AM
2012-02-11, 06:29 AM
Hi, Welcome to MyBB
1) Someone else will answer (I hope), since we both want to know.
2)
Using a '%' for the width should 'fit' any screen resolution.
Note:
You can also use... (for example)
1) Someone else will answer (I hope), since we both want to know.
2)
#container {
background: #fff url(images/example.gif) repeat;
width: 94%;
Using a '%' for the width should 'fit' any screen resolution.
Note:
You can also use... (for example)
min-width: 1000px;
max-width: 1600px;
on the ' body { ' to control and avoid "way too wide" and "way too narrow."2012-02-11, 06:31 AM
(2012-02-11, 12:54 AM)hindu Wrote: [ -> ]1) how can i make it so my background does not scroll when i scroll down
This:
background-attachment: fixed;
2012-02-11, 07:45 PM
(2012-02-11, 06:29 AM)seeker Wrote: [ -> ]Hi, Welcome to MyBBthanks for reply, but what i meant is my actual background.
1) Someone else will answer (I hope), since we both want to know.
2)
#container { background: #fff url(images/example.gif) repeat; width: 94%;
Using a '%' for the width should 'fit' any screen resolution.
Note:
You can also use... (for example)
on the ' body { ' to control and avoid "way too wide" and "way too narrow."min-width: 1000px; max-width: 1600px;
see my background is a wallpaper with a Minecraft creeper poking out from the side. here is a pic of what it looks like. I want to make it so no matter what the screen resolution is the background will fit. i tried your code but it made the actual forum just stretch out.
(2012-02-11, 06:31 AM)cfillion Wrote: [ -> ]Thanks it worked(2012-02-11, 12:54 AM)hindu Wrote: [ -> ]1) how can i make it so my background does not scroll when i scroll down
This:
background-attachment: fixed;