|
Your time now: Sat Nov 21, 2009 5:59 am
|
View unanswered posts | View active topics
| Author |
Message |
|
igjoe
|
Post subject: Table problems Posted: Fri Jan 16, 2009 12:23 am |
|
 |
| 100+ Club |
 |
Joined: Tue Jan 06, 2009 5:14 pm Posts: 124 Location: Minneapolis, MN
|
|
I am creating an email newsletter and the structure in based on tables. The layout has the body text on the left in a cell and then there is another nested table to the right of the content with 3 rows and 1 column.
Here is my problem. My content on the left is taller than the height of the three cells combined on the right. I would like the bottom cell on the right, which has a blue background, to continue to the bottom of the page so that the bottoms of the cells match up.
I have tried both setting the heights of the embedded table and the bottom cell using css and html.
This is what I have tried: <table height="100%"> <td height="100%>
<table style="height:100%;"> <td style="height:100%;"
I would really appreciate any amount of help that you guys could give!
|
|
| Top |
|
 |
|
rangana
|
Post subject: Re: Table problems Posted: Fri Jan 16, 2009 11:35 am |
|
 |
| 500+ Club |
 |
Joined: Wed Feb 27, 2008 6:14 am Posts: 929 Location: Cebu City Philippines
|
|
Have you tried to make the "bottom cell" a different row instead?
_________________ ~ Get me some work, I do freelancing ~
|
|
| Top |
|
 |
|
igjoe
|
Post subject: Re: Table problems Posted: Fri Jan 16, 2009 3:19 pm |
|
 |
| 100+ Club |
 |
Joined: Tue Jan 06, 2009 5:14 pm Posts: 124 Location: Minneapolis, MN
|
|
Thanks for the response!
Yeah, the 3 cells on the right are all individual rows...
I think I might try restructuring the table so that they are all in the same table... but the left content text will be in a cell that has rowspan="3" that way I think everything will stay the same height. I will update wether or not it worked.
|
|
| Top |
|
 |
|
X-Bumble
|
Post subject: Re: Table problems Posted: Fri Mar 06, 2009 8:31 pm |
|
Joined: Tue Feb 17, 2009 1:31 am Posts: 8
|
|
Create a fake column.
So what you do is to create the blue background you have on the right and put it into a graphic with the same amount of white (or whatever colour you have chosen) each side of it.
Make a thin horizontal portion of this graphic and save it as a gif.
I take it from your description above you have two cells in your main table. The left hand cell and then your second table in the right hand cell.
So what you do is to place your graphic you created as a background of the right hand cell in the main table and repeat it on the y-axis.
You'll need to measure the margins of the right hand cell (and set the table so it doesn't expand).
Remove your blue background from your second table and you will have a blue background running the whole depth.
_________________ Freelance Web Designer - Michael Edwards
|
|
| Top |
|
 |
|
igjoe
|
Post subject: Re: Table problems Posted: Fri Mar 06, 2009 11:12 pm |
|
 |
| 100+ Club |
 |
Joined: Tue Jan 06, 2009 5:14 pm Posts: 124 Location: Minneapolis, MN
|
|
Thanks, that's a great idea!
|
|
| Top |
|
 |
|
yuhang919
|
Post subject: Re: Table problems Posted: Fri Jul 03, 2009 9:26 pm |
|
Joined: Fri Jul 03, 2009 9:08 pm Posts: 25
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|

|
|