|
-
Oct 2nd, 2002, 04:01 AM
#1
Thread Starter
Hyperactive Member
Image sizes, positioning
I need to place an image in a table cell that expands or shrinks depending on the screen size. I tried it through a style sheet but the size doesn't change. I cannot just place the image in the cell as I need to put something else there.
Is there a way to:
Change the image size through a style sheet
Have two layers of images in the same cell
Thanks in advance for any help provided.
VB 6 Enterprise Edition SP4
ADO, SQL 7/2000, ASP and some JavaScript

>> Life goes on, but for how long? <<
If you can smile when things go wrong, you have someone in mind to blame
-
Oct 2nd, 2002, 05:05 AM
#2
Frenzied Member
I'm not totally sure what you want, but can't you just use a percentage on the image;
Code:
<img src="IMG.png" alt="" style="width:75%; height="50%;">
And for the second question, do you mean overlaying one image on top of another? If so I think you can do it in a couple of ways. You can use position, but I'd probably just go with a background image:
Code:
<img src="IMG.png" alt="" style="background:url('IMG2.png') top left no-repeat;">
Haven't tested it but I think it should work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|