Trep
07-11-2003, 08:05 AM
First off, I apologize if I put this in the wrong place. I wasn't sure if tables was right because this is more of an image problem.
Second, I'm transfering this question from another board because I just wasn't getting a response. (From now on LEIA will be my first choice)
Here goes:
Ok, I'd like to stay away from javascript and all that.
What I've got is this: A table layed out using only percentages for width and height. (Please don't flame me for this) I have an image that is a bit too wide for one of the cells so it stretches it and breaks the whole table horribly. I've tried width=100% for the image, but I guess specifying a width like that is in relation to the original size of the image. Is there any way to make the image fir snug to the cell?
I haven't tried divs yet, maybe there's something in CSS that can help. Thanks in advance.
I've come to realize this may not be possible without javascript or something like it. Whatever the solution, it's gotta be client-side. And I did try divs, didn't work.
If anymore info is needed, please let me know.
Second, I'm transfering this question from another board because I just wasn't getting a response. (From now on LEIA will be my first choice)
Here goes:
Ok, I'd like to stay away from javascript and all that.
What I've got is this: A table layed out using only percentages for width and height. (Please don't flame me for this) I have an image that is a bit too wide for one of the cells so it stretches it and breaks the whole table horribly. I've tried width=100% for the image, but I guess specifying a width like that is in relation to the original size of the image. Is there any way to make the image fir snug to the cell?
I haven't tried divs yet, maybe there's something in CSS that can help. Thanks in advance.
I've come to realize this may not be possible without javascript or something like it. Whatever the solution, it's gotta be client-side. And I did try divs, didn't work.
If anymore info is needed, please let me know.