Mood: not sure
Topic: Image Questions
How do i make my background just ONE picture, instead of having the same picture repeated over and over again??? Plz someone help!!!
Monday, 26 June 2006 - 10:05 PM EDTName: mamagoo
It depends on the type of graphic design your using. to keep it from tileing like that, the demensions have to be large enough to cover the full page. multi-design types are easier to work with then actuall photographs of objects and scenery and such. and you don't want a large file sized graphic, it takes to long to load. but demensions have to big enough like I said. so resolution of the grahic will suffer once it's made larger.
I just replied to another poster asking about this, look below for Tuesday, 20 June 2006 or use this link:
Monday, 26 June 2006 - 10:30 PM EDTName: dalleh
first you have to use the advance editor to get to the body tag.
you need you image or images to be in jpg or gif format and not bmp format
this is how to do the body tag to get the fixed background image, it may not work with all browsers but it work with IE for sure.
<body background="image.jpg" leftmargin=10 topmargin=20 bgproperties="FIXED">
Tuesday, 27 June 2006 - 1:17 AM EDTName: al4/cheapest-service
use a large image or a seamless background, there is no code that is going to fix this, at best it will resize and distort the image.
Tuesday, 27 June 2006 - 10:04 AM EDTName: cw
Use the code dalleh left to fix your BG image.
re image distortion- You can't resize a background image anywhere, ever, using html. A BG image behaves differently than an image inserted as true content on a page.
A BG image always displays in the exact pixel dimensions it is saved and uploaded in. You also need to remember that where BG images are concerned screen resolution comes into play and that there are many resolutions being used by visitors. You should check your fixed BG image page in several resolutions to see what others may be seeing.
Also remember that the browser window interface takes up screen space so that at best you'll be left with about 780 pixels in width to display an image in an optimized browser window in 800 x 600 resolution.
An image sized for 800 x 600 will leave a lot of empty screen space if the BG image is fixed and displayed in a larger resolution. An image larger than 780 pixels wide will only partially show in 800 x 600 resolution. Only the first 760-780 pixels in width will display and the rest of the image will be cut off when viewed in that smaller resolution.
Tuesday, 27 June 2006 - 2:58 PM EDTName: al4/cheapest-service
re image distortion-.....didn't say html, said code, and yes you can resize images with css and asp.net if it was available.
Thursday, 29 June 2006 - 11:00 AM EDTName: cw
That's interesting. I'd like to learn how to do that but can't find info anywhere on how it's done to an image used for a background. Can you point me to a tutorial? Thanx
Thursday, 29 June 2006 - 12:24 PM EDTName: dalleh
I am still loking for somthing that works with both netscape and IE
use IE for this page http://www.dalleh.com/djd/fixedbg.html the image stays the same when you resize the window.
it doesn't work with netscape.
Thursday, 29 June 2006 - 2:13 PM EDTName: al4/cheapest-service
There are several ways of doing this. It isn't really supported so in CSS it's more of a hack than anything else; however, it is suppossed to be supported in CSS.3.
Here is a link that shows how to do it in DHTML
In CSS you can more less create a nested div do do this.