View Full Version : Multiple tables..


microcosm
05-22-2003, 01:25 AM
Ok, I have a graphic in the middle of my main page with an IFrame. I want to two vertical lines on each side of it. Now I figure that a table would be the best way to align them, my brain is farting though and I can't think of how I would make it. I know I'd need 5 columns and one row.

<table border="0" cellpadding="0" cellspacing="0" width="100%"
<tr>
<td width="10"><img src="line.jpg"></td>
<td width="10"><img src="line.jpg"></td>
<td width="*">This is the space that the graphic with the IFrame would go </td>
<td width="10"><img src="line.jpg"></td>
<td width="10"><img src="line.jpg"></td>
</tr>

Now, is that right? Or is there a way that I can align the two tables with the graphic so it doesn't push it down??

DTT
05-24-2003, 04:54 AM
That code seems almost perfect, but as long as the width of the table is set to 100%, then I'm not sure if width="*" would help it or hurt it. You may want to try taking that out, but aside from that, it looks great. And make sure you close the <table> tag.