Can anyone answer a simple HTML question about background images?
So, I just wanted to find out what parameters you need to set so that a background image doesn't tile. I've looked for a code for this on Google, but I haven't come up with any answers. Thanks
Public Comments
- You can use the parameters width= and height= inside your tag. If this is not what you mean please, be more specific or give an example.
- You need to use CSS for this. <body style="background-image: url('...'); background-repeat: no-repeat"> In "..." goes the URL to your background image.
- Well, it's easier to use a style for the body... try this: <style type=text/css> body { background-image:url(INSERT URL OF IMAGE); background-attachment:scroll; background-repeat:no-repeat; } </style>
Powered by Yahoo! Answers