Click to See Complete Forum and Search --> : No Tiled Background?
petrocan
04-17-2003, 08:23 AM
I need to have the background in this code NOT tile...and I don't want to use CSS (if I don't have to)...can it be done?
<html>
<head>
<title>Untitled Document</title>
<head>
</head>
<body leftmargin="0" topmargin="0" bgcolor="white" text="#000000" background="images\background.gif">
</body>
</html>
Any help would be greatly appreciated.
stargal98
04-17-2003, 08:42 AM
well, i would tell you to stretch it in the code, but it might end up looking really grainy and icky...
You could also put it into an image program (paint shop pro or Adobe photoshop) and resizing it to fit the size of you page.
Again, if it is a really small image or really intricate, it may look absolutely hideous as one whole background graphic. I usually try graphics by putting them on my desktop as tiled, centered (usually with a black frame around it) or as a whole picture. Keep in mind that people might have larger or smaller screens than you do, so they might see your background a little differently.
See Ya!
~~~stargal1998~~~
petrocan
04-17-2003, 08:45 AM
Thanks for the input Stargal, but the image is big and can't be stretched...sooooo...any other suggestions?
Maybe, can I put CSS within the HTML coding? I haven't worked with CSS is a long time so that's why I was trying to solve this with minimal effort.
Still looking for solutions. Thanks again stargal
stargal98
04-17-2003, 08:46 AM
maybe use one of those programs and shrink it to fit the image, if you keep it at scale it should look the same...
AdamGundry
04-17-2003, 10:24 AM
You need to use CSS, but it's fairly simple. Just add this to your <body> tag:
style="background-repeat: no-repeat"
Adam
petrocan
04-17-2003, 11:49 AM
Thanks Adam....that worked great.
Thanks for your help too Stargal.