Thread: stretching image
Results 1 to 8 of 8
Related
-
Table cells stretching and spreading out my design Forum: HTML Forum
Replies: 2 -
stretching div Forum: CSS Forum
Replies: 1 -
Template Stretching with CSS Forum: CSS Forum
Replies: 1 -
Need Help - Table / Template stretching out my layout! Forum: HTML Forum
Replies: 2 -
stretching table Forum: HTML Forum
Replies: 5
-
10-15-2002, 09:09 PM #1
stretching image
I want to make one of those images that stretches/repeats until it reaches the bottom of the page. I thought I could do this by just making the height or the image = 100% but it goes past teh end of the page making the page longer.
Also, i know how to use javascript to detect IE or Netscape (eww), but how can u detect the AOL brower (double eww)?
-
10-16-2002, 01:07 PM #2
Hi there Mr Orange.
The browser string for aol browsers starts with AOL. who would have thought?
Here is a javascript that redirects AOL browsers -
Code:<SCRIPT LANGUAGE="JavaScript"> <!-- var agt=navigator.userAgent.toLowerCase(); var is_aol = (agt.indexOf("aol") != -1); if (is_aol) { window.location="index_a.html" // version for AOL browsers } else { window.location="index_b.html" // version for the rest } //--> </SCRIPT>
If not, then could you post the code ur using for the image? Then I can try and see whats wrong.If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
10-16-2002, 01:24 PM #3
Can also make the image a background within a < TABLE ...> and then size the table itself to desired dimensions.
Last edited by HTML; 10-16-2002 at 04:06 PM.
-
10-16-2002, 07:52 PM #4
Benz: He is in fact working on a redesign of our current page...starting it anyways...and what we want is it to stretch to fit the user's resolution so that it goes all the way to the bottom. So I dont' see how using a background image in a table would fix it... /me shrugs....what about if we did height=99%...maybe it's accouting for the bar at the bottom of the page? and that's why it's going over....thx in advance for the help....I'm glad to be back.
-The Other Dave Bailey :P
-
10-16-2002, 09:11 PM #5
Dave,
I hope you are intending to get rid of the full screen page. Taking over a browser is not looked too good upon, atleast I would close and never go back.
Dave
-
10-16-2002, 09:42 PM #6
Yeah we are and we're also making it compatible with 800x600 res. users so we're back on track. I haven't had much time since I've been working on my art portfolio for school....that's been a large chunk of my time. Along with school and sports i've been pretty busy but i'm making a triumphant return.
-
10-19-2002, 07:07 AM #7
how about just using a 100x100 pixel background tile and setting that as the background image in the HTML? It's compatible with all screen sizes that way and will cover the entire background of the page. Unless that's not what you're wanting to accomplish.
-
11-11-2002, 12:35 AM #8
i dont know how to stretch it, but to tile it horizontally, vertically or both, put the code below in between <head> and </head> :
==start of code==
<style>
BODY
{
BACKGROUND-IMAGE:url('image.jpg');
<!--to tile horizontally-->
BACKGROUND-REPEAT:repeat-x;
<!--to tile vertically-->
BACKGROUND-REPEAT:repeat-x;
}
</style>
==end of code==
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum