![]() |
Resizing background image
How do you resize a background image with HTML?
|
I've already asked that.
|
|
HTML does not allow you to stretch background images. You can, however, stretch foreground images. You can simulate a stretching BG image by positioning FG stuff on top of a normal image, then using JS to update the image size.
|
Okay um....
Burgundy background with a stretched image (logo.gif) on top of it that's mostly transparent (thus the burgundy will shough through). How do you code that? |
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"> |
ok ... this isn't working :(
|
What, exactly, isn't working? I've tested it.
|
hmmmmm...I dunno maybe I'm just putting it in the wrong place...when I put it there it like took the whole page off...? I dunno...
|
Yes, that is the page.
As I said, you need to put your page body into the div tag I specified after the image tag, so: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"> |
All times are GMT -6. The time now is 07:38 AM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.