![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
can somebody explain how i can center an image, say 640 pixels by 480 pixels, on a page, but centered both top to bottom and left to right. or how can i make an image my background, BUT WITHOUT having it extend a few times over. like if i have a page that is 640 by 480, and an image that is 640 by 480, how can i make it my background and keeping it to show only once , even if the viewers browser is bigger? thanks |
#3
| |||
| |||
|
|
Think with CSS it will work "oepx" <webforumsuser (AT) macromedia (DOT) com> schreef in bericht news:ccuedl$ee4$1 (AT) forums (DOT) macromedia.com... can somebody explain how i can center an image, say 640 pixels by 480 pixels, on a page, but centered both top to bottom and left to right. or how can i make an image my background, BUT WITHOUT having it extend a few times over. like if i have a page that is 640 by 480, and an image that is 640 by 480, how can i make it my background and keeping it to show only once , even if the viewers browser is bigger? thanks |
#4
| |||
| |||
|
|
body { background-position:center center; background-repeat:no-repeat; } |
#5
| |||
| |||
|
|
can somebody explain how i can center an image, say 640 pixels by 480 pixels, on a page, but centered both top to bottom and left to right. or how can i make an image my background, BUT WITHOUT having it extend a few times over. like if i have a page that is 640 by 480, and an image that is 640 by 480, how can i make it my background and keeping it to show only once , even if the viewers browser is bigger? thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |