Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Auto Resize Image
Name: tau_titan Date: July 25, 2005 at 02:30:30 Pacific OS: Win XP CPU/Ram: Athlon 2700+ / 512 PC2700
Comment:
I have a website and would like to have an image behind my nav bar. Nothing special just a diagonal gradient or something along those lines. I was wondering if there was any way in which i could stretch the image depending on the size of the page without having to have separate pixel perfect images for each one.
Name: Michael J (by mjdamato) Date: July 25, 2005 at 06:28:13 Pacific
Reply:
The easiest way I can think of is to include your nav bar inside a table cell. Then, include the gradient image as an element within the cell and give it a width of 100%. You would need to use the z-index property in order to show elements on top of the image.
Michael J
0
Response Number 2
Name: tau_titan Date: July 25, 2005 at 06:33:32 Pacific
Reply:
Cheers m8 any tutorials on this as although i have a website i am not too sure about how to use things as "elements."
Name: Michael J (by mjdamato) Date: July 25, 2005 at 09:18:48 Pacific
Reply:
By "element" I mean a piece of content within the cell as opposed to setting the image as the background of the cell (e.g. using the IMG tag). You can do a Google search of "CSS z-index" on how to use that feature.
Michael J
0
Response Number 4
Name: tau_titan Date: July 25, 2005 at 11:05:58 Pacific
Summary: I am using the image resize script found at: http://codewalkers.com/tutorials/42/1.html . However, rather than simply display the image after I resize it, I want to upload it to my webserver, preferr...
Summary: as above. That's what I google [IMG=100x100]http://img354.imageshack.us/img354/5061/rodimusprime02sh6.jpg[/IMG] or [img=100x200]["url]http://img354.imageshack.us/img354/5061/rodimusprime02sh6.jpg[/url...
Summary: Can I resize a image to a proportional size. For example, if the image is 200x70 and I want to size with a size with 300x300. So i resize to 300x105. Can I do it using any script? May be PHP. ...