View previous topic :: View next topic |
Author |
Topic : "Dreamweaver/HTML question" |
Flipper junior member
Member # Joined: 15 Sep 2001 Posts: 11 Location: UK
|
Posted: Sat Oct 06, 2001 2:21 am |
|
![](templates/drizz/images/hrline.gif) |
Hi there
I'm designing a web page and I want to put a background image on the center of the page and not tiled. Macromedia Dreamweaver isn't giving that kind of option so I'll propably have to do it manually by editing HTML source (eeeww). If you have any ideas let me know.
Cheers ![](images/smiles/icon_cool.gif) |
|
Back to top |
|
Matt Elder member
Member # Joined: 15 Jan 2000 Posts: 641 Location: Sydney, NSW, Australia
|
Posted: Sat Oct 06, 2001 6:10 am |
|
![](templates/drizz/images/hrline.gif) |
try putting the following in the <head> tag
<STYLE TYPE="text/css" MEDIA="screen">
BODY { background-image: url(images/image_name.gif); background-repeat: no-repeat; background-color: white }
</STYLE>
obviously this would apply to the "BODY".
not 100% sure though on how to center it though. But it might be a start.
hmmm... just checked a reference book, maybe:
background-position: center
[ October 06, 2001: Message edited by: Matt Elder ] |
|
Back to top |
|
Jezebel member
Member # Joined: 02 Nov 2000 Posts: 1940 Location: Mesquite, TX, US
|
Posted: Sat Oct 06, 2001 6:19 am |
|
![](templates/drizz/images/hrline.gif) |
I generally just use tables. Just slap a table on your page and align it to the center of your page, you can vertically center it as well. Then put the bg in the table. |
|
Back to top |
|
Flipper junior member
Member # Joined: 15 Sep 2001 Posts: 11 Location: UK
|
Posted: Sat Oct 06, 2001 8:49 am |
|
![](templates/drizz/images/hrline.gif) |
But what if I want to put some tables on the area where the backround is ? |
|
Back to top |
|
jeffery member
Member # Joined: 02 Jan 2001 Posts: 107 Location: Toronto, ON, CA
|
Posted: Sat Oct 06, 2001 10:35 am |
|
![](templates/drizz/images/hrline.gif) |
you can embed tables within other tables. not technically 'good design' but who cares. ![](images/smiles/icon_smile.gif) |
|
Back to top |
|
Jezebel member
Member # Joined: 02 Nov 2000 Posts: 1940 Location: Mesquite, TX, US
|
Posted: Sat Oct 06, 2001 11:13 pm |
|
![](templates/drizz/images/hrline.gif) |
Ummm... not good design? Where did get that from? TONS of sites use embedded tables.
CNN.com
Yahoo.com
... this forum.
*shrug*
![](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
Jezebel member
Member # Joined: 02 Nov 2000 Posts: 1940 Location: Mesquite, TX, US
|
Posted: Sat Oct 06, 2001 11:19 pm |
|
![](templates/drizz/images/hrline.gif) |
You have a cool site btw Jeff... I like it. The bg image is especially nice ![](images/smiles/icon_smile.gif) |
|
Back to top |
|
|