Tables pushing stuff down.
|
|||
|
Rank: ? (11)
Member #: 26731 |
I'm an idiot, so this is probably really simple, but I dunno.
I have three tables which are all aligned to the left, then I had one which is aligned to the center. The table aligned to the center gets pushed down way below all of the other tables. I really dunno how to fix this. If I put the tables below the one in the center, the same thing happens with my left aligned tables, whats causing this? |
||
|
|||
|
|||
|
Rank: ? (4821)
Member #: 3416 |
could you be more specific? even better, a link to a page showing the problem, or some code showing the problem.
my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
|
||
|
|||
|
|||
|
Rank: ? (11)
Member #: 26731 |
Okay, heres the best way I can think to describe it.
Basically, theres three tables for navagational purposes situated on the left of the site (<table align=left valign=top> Heres the idea of the layout: Nav1 Nav2 Content Nav3 Heres what happens: Nav1 Nav2 Nav3 Content » Post edited 2006-03-29, 10:12am by Tape.
|
||
|
|||
|
|||
|
Rank: ? (1224)
Member #: 15685 |
we need to see your code of the table to determine the problem...
Did u put the Content td in the same <tr> as the Nav2 td?? Meaning did u put it in the same row? Anyhoooo u can try this: Code:
» Post edited 2006-03-29, 12:47pm by Viper55.
Stick and Stones may break my bones but Caricatures will cause a riot!
|
||
|
|||
|
|||
|
Rank: ? (4821)
Member #: 3416 |
i don't remember what exactly the align attribute does for a table, but there is no valign: valign is for td tags.
the outer table viper gave looks like it would do what you want, but i'm not totally sure what it is you want. you might also consider using css to get this layout instead of tables. here's a basic example of a layout with navigation on the left and content on the right: Code:
i've set this up with the content coming first, since that will make it display first without having to wait for the navigation to load. i expect that normally people don't want to look at the navigation until they've checked out the content and decided they want to look at something else. also, i'm not completely sure that this code will work since i've not tested it but only proved it correct.
my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
|
||
|
|||
|
|||
|
Rank: ? (1224)
Member #: 15685 |
oops my mistake.....yeah the valign goes into the TD tags
Stick and Stones may break my bones but Caricatures will cause a riot!
|
||
|
|||
|
|||
|
Rank: ? (2)
Member #: 29319 |
try nesting tables, it's very effective to solve your problems....
|
||
|
Please login or register to post a reply.