TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

html background help

Page: 1 Reply
Jun 29th 2002#55840 Report
Member since: May 15th 2002
Posts: 68
How do I stop a background image from tiling?

Thanks
Reply with Quote Reply
Jun 29th 2002#55844 Report
Member since: Apr 20th 2002
Posts: 3000
<style>

body
{
background-repeat: no-repeat;
}

</style>
Reply with Quote Reply
Jun 29th 2002#55880 Report
Member since: May 15th 2002
Posts: 68
Thanks, now that i've done that is there a way to get that background image to be centered on my page?
Reply with Quote Reply
Jun 29th 2002#55883 Report
Member since: Mar 24th 2002
Posts: 3114
background-position: center;

..I think.. :D
Reply with Quote Reply
Jun 29th 2002#55885 Report
Member since: May 15th 2002
Posts: 68
you guys are AWSOME!!!

Thanks for the help and the quick responses
Reply with Quote Reply
Jun 29th 2002#55886 Report
Member since: May 15th 2002
Posts: 68
One more question...last one I promise. :D

I've made my background image 800x600, is there anyway to get it to stretch the width of a screen that is bigger than that so that someone who has a bigger monitor doesn't see that image stop before it reaches the sides of the screen?
Reply with Quote Reply
Jun 30th 2002#55916 Report
Member since: Mar 24th 2002
Posts: 3114
As a background...no. Make two bg-images, one for 800*600, and noe for 1024*768. Then make a script that checks the resolution of the visitor, and writes the code needed to make the suitable bg-image. Tell me if you don´t know how to make that script, and I will make one for you.
Reply with Quote Reply
Jun 30th 2002#55917 Report
Member since: May 15th 2002
Posts: 68
another question. If I want to use image ready to make some roll overs and stuff on my background how do I put all that HTML that goes with it into the style command?
Reply with Quote Reply
Jun 30th 2002#55952 Report
Member since: Apr 20th 2002
Posts: 3000
Vice versa, you put the style into the HTML generated by image ready.
Reply with Quote Reply
Jun 30th 2002#56006 Report
Member since: May 15th 2002
Posts: 68
Originally posted by PaavoPerkele
As a background...no. Make two bg-images, one for 800*600, and noe for 1024*768. Then make a script that checks the resolution of the visitor, and writes the code needed to make the suitable bg-image. Tell me if you don´t know how to make that script, and I will make one for you.


That would be awsome if you could do that PaavoPerkele...I'm getting kinda frustrated with this thing this weekend. :mad: :mad:
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum