Topic: 100% and strech. (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Born in Dublin, Ireland .:. now living in the US |
posted 08-13-2003 05:07
Ok. I'veen using DW since version 3. I've graduated to and love MX. I have a problem that I can't figure out. After all this time you'd think I'd know how to do this, but I don't. I'm missing something. I'm trying to make a single graphic, whether it be a graphic or photo, stretch the lenght of the page without having scroll bars show up on the bottom of the page. I think it has something to do with X,Y values or something. Anyone have any idea what I'm on about? LOL. Do I need to write some extra code to accompish this? Let me know please. Thanks. |
Maniac (V) Inmate From: California |
posted 08-13-2003 07:58
quote:
code: <img class="stretch" src="blah.jpg" height="[i]height of the actual image, not stretched[/i]" width="[i]width[/i]" border="0" alt="" />
code: html, body {
|
Bipolar (III) Inmate From: Born in Dublin, Ireland .:. now living in the US |
posted 08-14-2003 02:45
I know how to do that one, but thank you for posting. I have a link here, it's http://www.11oh1.net/, I'm trying to get the same effect on the top of the site as "krets", has done. Duhh. LOL. Maybe I should just ask krets right? LOL. Anyway, if anyone knows how this is done I would greatly appreciate it. Thanks. |
Maniac (V) Inmate From: under the bed |
posted 08-14-2003 03:14
Ok...I'm not sure if I understand right, but if I do.... |
Bipolar (III) Inmate From: Born in Dublin, Ireland .:. now living in the US |
posted 08-14-2003 03:18
hmmm. I'll give it a shot. I don't really want to tile. I want to use one single image [photo] across the top of a page. I'm still working on figuing it otu. Thanks. |
Maniac (V) Inmate From: California |
posted 08-14-2003 07:09
You can use a single photo if you choose a long one (say 1280 pixels wide, at least) and at most resolutions, parts of it will be cut off. |
Bipolar (III) Inmate From: Born in Dublin, Ireland .:. now living in the US |
posted 08-14-2003 14:31
ozphactor, thanks. I want to use just the picture as is, no stretching becuase of the distortion. But here's the next question. If I use an image that is 1280 pixels wide, wont scroll bars appear at the bottom of the page for users viewing in a small screen size/resolution? |
Maniac (V) Inmate From: under the bed |
posted 08-14-2003 19:55
Yeha, stretching is bad. |
Maniac (V) Inmate From: California |
posted 08-15-2003 08:02
Generally, the CSS background-image property is the way to go. |
Bipolar (III) Inmate From: Born in Dublin, Ireland .:. now living in the US |
posted 08-15-2003 14:26
Thanks guys. YOu know I didn't even think of setting the background image to gain the same effect. I need the stupid award today. LOL. Thanks again. Now I know what to do. |
Paranoid (IV) Mad Scientist From: KC, KS |
posted 08-16-2003 04:47
Hey, ya'll stop talkin 'bout me now ya hear? |