SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Table alignments
-
Oct 3, 2000, 18:45 #1
- Join Date
- Sep 2000
- Posts
- 73
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-------------------
<table border="0" cellpadding="0" cellspacing="0" width="750">
<tr>
<td width="150">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"></td>
</tr>
</table>
</td>
<td width="450">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"></td>
</tr>
</table>
</td>
<td width="150">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"></td>
</tr>
</table>
</td>
</tr>
</table>
-------------------
My problem is that when I add a nav bar to the left side the center will adjust itself to write text in the middle.
(http://www.cisites.com/nav)
But when I valign the tables then the tables don't line up and my table backgrounds are misaligned
(http://www.cisites.com/valign)
I know there's a way to get everything to mesh together, but can't figure it out. Anybody know?
-
Oct 3, 2000, 18:57 #2
EESH You Used percents. use only pixels in the equation. Also <tr><td> cells have an align attribute that looks like this:
<td align="left|right|center">
Hope this helped.
Further Note: Using percentages is bound to screw up your table
-
Oct 3, 2000, 20:43 #3
- Join Date
- Sep 2000
- Posts
- 73
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'll probaly switch to pixels soon, I made about 30 different versions and this one just got picked to be posted. I think my problem is more of a vertical one then a left/center/right problem, but I don't know exactly what it is.
-
Oct 3, 2000, 21:22 #4
- Join Date
- Sep 2000
- Posts
- 73
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How's it look now:
------------------
<body bgcolor="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="750">
<tr>
<td width="150" valign="top" bgcolor="#FFFFFF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td></td>
</tr>
</table>
</td>
<td width="450" valign="top" bgcolor="#FFFFFF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td></td>
</tr>
</table>
</td>
<td width="150" valign="top" bgcolor="#FFFFFF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
------------------
Bookmarks