chrometweaks.org

Who's the best free iPage web host? It's not Yahoo...?

Click Here To View All Answers...


Got a question... Who's the best free iPage web host? It's not Yahoo...? Hoping for any response. Another question I got... Hi!.

I've just joined this forum and wished to ask what maybe a very basic question..

I have a main table it is 2 cols by 1 row. Inside each of these is another set of tables. The right col is the navigation one. I have set this to a fixed width..

The left one is the main area for information. It contains several other tables, one of which I'd like to expand as data is put in or taken out..

The problem is that when the large main table (cell) is expanded it centres the table on the right (menu) area to the middle of the main table. What I need is anything in the right hand maintable cell to stay at the top all the time and not move down. Is there a code instruction to do this? I tried valign, but Dreamweaver seems to over look it. Or am I placing it in the wrong place. Can someone help please?.

Thanks, Aardvark..

Comments (7)

That's a good question. I'm not sure what is the right answer to your question. I'll do some Googling and get back to you if I got an useful answer. You should email the people at iPage as they probably can help you..

Comment #1

First up it is often helpful if you post some code or show a link to your site..

Second welcome to the forums, enjoy and good vibes..

Third I think your problem might be a TR problem. I know Scoutt would disagree with me on this one as he has in the past... but find the TR that nests your table and insert the attribute valign="top"... ie <tr valign="top">.

Hope that helps... if not post some code here or a link...

Comment #2

I found this code. Will this do the trick?.

<div style="position: relative; top: 150px">.

<table border="1" align="center" height="300" width="300">.

<tr>.

<td>.

</td>.

</tr>.

</table>.

</div>..

Comment #3

To align something in a table cell to the top use css.

<td style="vertical-align:top;">.

Properies can be :top, middle, bottom..

Better to throw it into your stylesheet if you have one!.

Valign="top" is deprecated..

Comment #4

How would I write that as a class, and call it?.

Sorry to pester..

Comment #5

<style type="text/css">.

Td.1 {vertical-align:top;}.

</style>.

<td class="1">.

This way you place the styles in the head, in an external stylesheet open up notepad and throw the style in their without the style tags (just the td.1 part basically)save it as a text document 'filename.css', , use the td class="1" and place this in the head.

<link rel="stylesheet" type="text/css" href="filename.css" >..

Comment #6

Well, sad to say that all this advice didn't work..

I found another mention, which was:.

<tr valign="top">.

And this did the trick perfectly..

Anyway, thanks for the effort everyone, and problem solved...

Comment #7

Isn't that what I said??? Right at the begining of the thread (almost)... sheesh, glad it worked...

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.