Forum Moderators: phranque

Message Too Old, No Replies

Vertical alignment

         

wonderboy

6:12 pm on Feb 21, 2004 (gmt 0)

10+ Year Member



Hey,

I have a table with 2 columns, on the right is a variable amount of content, on the left is a set menu, I always want the menu to appear at the top of the table (the menu is within another table) - but as the content changes in length in the right hand side the menu's position changes also.

How do I make it so that the menu always appears at the top without having to modify it manually for every page of content?

Many thanks,

K.

Llama

7:20 pm on Feb 21, 2004 (gmt 0)

10+ Year Member



I think that you're able to do this with Dreamweaver, and also, you can go to each page with word and use the find and replace tool.

I think Notetab can also do this.

wonderboy

8:35 pm on Feb 21, 2004 (gmt 0)

10+ Year Member



ok, I have dreamweaver, anyone know what it is within dreamweaver that I have to do?

W.

pageoneresults

8:38 pm on Feb 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Assuming you are working within tables, you'll need to assign this attribute to the cells where you need vertical alignment...

<td [b]valign="top"[/b]>

Using FP, I can right click my selected cell and then assign that property through the cell properties dialog. I'll assume that it is similar in DW.

Now that I'm working with CSS, I utilize a class to define vertical alignment...

<td [b]class="vat"[/b]>

In my external CSS...

.vat{vertical-align:top;}

wonderboy

6:54 pm on Feb 22, 2004 (gmt 0)

10+ Year Member



cheers, valign works fine... me stoopid =)