Preserved Topic: Slices & tables problem (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Magna, UT |
posted 02-28-2002 03:10
I have created an image that is to act as a frame around th content of a web page. I am assembling it in essentially a 3 x 3 table inserting each corner image and the top and side images are set to the background of the table cell so they can tile and allow the illusion of the frame resizing. I have done this successfully before on a little less complex test but for some reason now I can't make it work. The table needs to be 100% both width and height. I have tried setting specific cells to specific pixel lengths so that the only cell that is dynamic is the center the corners are static and the top/bottom only expand horizontally and the left/right only expand vertically. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 02-28-2002 03:42
I'm sure a look at the code and images in question would allow everyone to help you much better. |
Paranoid (IV) Inmate From: Greenville, SC, USA |
posted 02-28-2002 04:42
I think I have an idea about what your talking about but, I'm unclear as to what your problem is. (I know what you wan't to do, just don't know what problem your having.) Any links? |
Maniac (V) Inmate From: under the bed |
posted 02-28-2002 04:55
This is the basic code that will do the trick. The top/right/bottom/left _bg images will need to tile in the direction they will need to stretch, of course - code: <table cellpadding=0 cellspacing=0 border=0>
|
Bipolar (III) Inmate From: Magna, UT |
posted 02-28-2002 06:12
OK I posted it here http://www.finlinson.com/design/ |
Maniac (V) Inmate From: soon to be "the land down under" |
posted 02-28-2002 06:55
Okay, here's the problem. In your second <tr>, the first <td> has a height setting: code: <TD align=right background="Finlinson Design_files/l.jpg" height=281
|
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 02-28-2002 08:22
Actually, set the height to 100%. I've made a few changes, including XHTML compliance, but this looks like what you're after: code: <html>
|
Bipolar (III) Inmate From: Magna, UT |
posted 02-28-2002 16:23
I thought I had removed the height once I thought but maybe I missed it. Thanks a lot guys. |
Bipolar (III) Inmate From: Magna, UT |
posted 02-28-2002 18:17
WOW! |