|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
|
i am trying to make a web page about me and some friends and i want to have pic that my g/f made to be the background but when i put it as the background it tiles and i want it right in the center of the page. i have tried a bunch of tags from different sites and nothing seems to work, am i missing something? here is some info that might help:
http://www.angelfire.com/theforce/redteamgo ^ (web page address) Picture Information: Name: background.jpg Size: 797x480 i also have another one of the same pic but its dimensions are different, if someone could help me i would really appreciate it. thanks! |
|
|
|
|
|
#2 |
|
Member (7 bit)
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
|
use a table, set it to 100% width and height, and use the image as the backgorund.
i think that will work! |
|
|
|
|
|
#3 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
The easiest is to use a stylesheet like so:
PHP Code:
|
|
|
|
|
|
#4 |
|
Member (6 bit)
|
thank you ill give it a try and write back!
|
|
|
|
|
|
#5 | |
|
I don't computer.
Join Date: Mar 2003
Location: Ellisville, MO
Posts: 1,561
|
Quote:
__________________
Gaming Rig - ASUS A8N-SLi Deluxe :: AMD 64 X2 4600+ :: 3GB Corsair XMS PC-3200 ASUS GeForce GTX 560 (Fermi) 1GB :: SB Xi-Fi Fatal1ty Pro 500GB WD Black :: Sony DVD-ROM :: Plextor 716SA DVD/RW OS - WinXP Pro :: Powered by - Enermax 535W PSU ASUS G60JX Laptop - Intel Core i5 M430 :: 4GB DDR3 NVIDIA GeForce GTS 360M 1GB :: 500GB SATA HD (7200) OS - Win7 Home Premium 64-bit |
|
|
|
|
|
|
#6 | |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Quote:
|
|
|
|
|
|
|
#7 | |
|
I don't computer.
Join Date: Mar 2003
Location: Ellisville, MO
Posts: 1,561
|
Quote:
I think I mainly used table formats though to center my images and place them where I wanted them. |
|
|
|
|
|
|
#8 | |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Member (6 bit)
|
i tried your suggestions, but it still tiles, i dont know how to use tables and such, if anyone would be as kind to post the code for a table that would center the image on the page so i could copy and paste it, i would be truley grateful..=)
|
|
|
|
|
|
#10 |
|
Member (7 bit)
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
|
< table height="100%" width="100%" background="imagepath.jpg" border="0" >
< tr > < td > < body of page > < /td > < /tr > < /table > i think!!! |
|
|
|
|
|
#11 | |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Quote:
PHP Code:
Last edited by mairving; 08-27-2003 at 06:52 AM. |
|
|
|
|
|
|
#12 |
|
Member (6 bit)
|
ill give it a try
thank you
|
|
|
|
|
|
#13 |
|
Member (6 bit)
|
it works! i really freakin works! this forum is the shiznit! thanks guys for all the help!
|
|
|
|
|
|
#14 |
|
Member (6 bit)
|
ok i got the image where i want it but not its leaving a white border around the right side and a orange-ish boarder on the bottom...i dont know what to do
|
|
|
|
|
|
#15 |
|
Member (7 bit)
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
|
total guess but try
background-border : 0; in there as well !!! |
|
|
|
|
|
#16 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
That's probably the image itself. Do you have something for us to look at.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|