Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
valign=top not working
Name: brds Date: March 31, 2006 at 10:21:50 Pacific OS: XP CPU/Ram: 512 Product: Dell
Comment:
Hello, I'm making a web page for one of my projects in school. I have a side menu bar in a cell which is then in another cell. I want the menu to stay at the top of the screen, but when text on the page gets long, the menu drops down more and more on the page.
I put in the <td valign="top">, but that still doesn't work.
If you want to see the entire page... http://www.tehbrds.com/homework/
Name: Michael J (by mjdamato) Date: March 31, 2006 at 11:17:27 Pacific
Reply:
The problem is that the cells you are using the valign property in are in a table which is in another TD. That table is positioned in the middle (vertically) within the containing TD! You need to use the valign property in the containing TD to make that tabe at that top.
One trick I use in such situations is to temporarily use borders on the tables so I can see exactly what is where.
By the way, you have some duplicative and unecessary code - basically you need to do some cleanup. for instance you have a CENTER tag within another CENTER tag.
Summary: I seem to be having the same problem as your friend. I also need help. I tried the advice posted but that hasnt worked. I need help, i cant play some online games. Also i cant view certain forums all ...
Summary: I did it like this: <div id="m3s" width=100 height=75 onMouseOut="m3s.style.visibility='hidden'" style="cursor:hand; padding:0px; position:absolute; left:0px; top:0px; height:75px; width=100px; z-i...
Summary: Thi shouldn't be that tough. I have two numbers coming out of a db, i put them into variables then try and run an if statement.. if ($a != $b) { show this; } its not working. the show this always show...