Why can't I valign this text to top?

windows

Guest
Can anyone figure out why I can't get the content of the rightmost cell (the one outlined in red, which starts "Welcome to EY Incident Management") to vertically align to the top (like I do the left cell)?<br />
<br />
I have the valign to top, border width and cell padding/spacing all set to zero. Yet the space between the top border and the content remains.<br />
<br />
The page is way to long to post here, but here's the link (user: guest, pwd: secret): <!-- m --><a class="postlink" href="http://tinyurl.com/397d7">http://tinyurl.com/397d7</a><!-- m --><br />
<br />
Here is a code snippet:<br />
<br />
<TABLE summary="Main content table" style="MARGIN:0px"<br />
cellspacing=0 cellpadding=0 width=811 valign=top border=01><br />
<TR><td><img src=http://www.webdeveloper.com/forum/archive/index.php/"/icons/ecblank.gif" height=1 width=7></TD><br />
<TD nowrap width=150 valign=top name="Left pane"><br />
<table style="MARGIN:0px" cellspacing=0 cellpadding=0 valign=top border=01><td><br />
<A href=http://www.webdeveloper.com/forum/archive/index.php/"https://tis-ny-domino5.tisny.com/ey/incident.nsf">Incident Report Home</A><br />
</TD></table></TD><br />
<P><TD><img src=http://www.webdeveloper.com/forum/archive/index.php/"/icons/ecblank.gif" height=1 width=7></TD><br />
<TD valign=top name="Content pane" cellpadding=0 cellspacing=0 bordercolor=red><br />
<TABLE summary="Button table top" style="MARGIN:0px"<br />
cellSpacing=0 cellPadding=0 width=661 valign=top border=01><br />
<TD colspan=20 class=normal vAlign=top style="BORDER-BOTTOM: #4ac401 1px solid">&nbsp;<br />
<B>Welcome to EY Incident Management</B></TD></TR><BR><br />
<FONT SIZE=2><TR style="align:right; valign:top;"></FONT><br />
<td align=right width=650></td><br />
<td style="align:right"><br />
<INPUT TYPE=button VALUE="Edit Report" CLASS="button"<br />
onClick="window.open(...);"><br />
<FONT SIZE=2></td><td width=3></td></FONT><br />
<td style="align:right"><br />
<INPUT TYPE=button onClick="<br />
window.print();<br />
" VALUE="Print" CLASS="button"><br />
<FONT SIZE=2></td><td width=3></td></FONT><br />
<td style="align:right"><br />
<INPUT TYPE=button VALUE="Close" CLASS="button"<br />
onClick="return _doClick('2be55bf7fae4028c85256eb4004c5665/$Body/0.EFE', this, null)"><br />
<FONT SIZE=2></td></FONT><br />
</tr></table summary="Button table"><!--content-->The link doesn't seem to work after the password.<!--content-->I fixed the link. Sorry about that. Please help me anyway :D<!--content-->No the link still don't work! I get 404 error pages!<!--content-->Incorrect use of tables: tables are for tabular data.<br />
Incorrect use of nested tables.<br />
Incorrect use of tr.<br />
Incorrect use of td.<br />
Illegal use of attributes.<br />
Illegal attribute values.<br />
Element nesting errors.<br />
Incorrectly placed quotes.<br />
Link "error 404"<!--content-->OK, this time I fixed the link for real (sheesh, you'd think a professional programmer could do better than that! :D).<br />
<br />
Fang, how would you create a multi-paned layout, without using tables or frames, and sticking to as basic (or lowest common) technology as possible -- that's the requirement from the customer.<br />
<br />
Thanks again for everyone's help.<br />
Jeff<!--content-->Look at some of these column layouts (<!-- m --><a class="postlink" href="http://www.bluerobot.com/web/layouts/">http://www.bluerobot.com/web/layouts/</a><!-- m -->), all css stuff. See if any of them are suitable.<br />
Use the lowest common denominator (crappiest browser) that the customer wants to support to start your design implementation.<!--content-->Woohoo! Thanks, Fang. This site looks like it'll be useful for me!<br />
<br />
Well, I did what you said, and it's great -- except for one little detail: the button table in the main section is still not lining up flush with the top of the DIV section.<br />
<br />
If anyone can help me (please), here's the link (user: guest, pwd: secret): <!-- m --><a class="postlink" href="http://tinyurl.com/397d7">http://tinyurl.com/397d7</a><!-- m --><br />
<br />
And here are snippets of my source code (who knows why the web server translates it into so much gibberish): <DIV id="Header"><br />
<IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"/EY/incident.nsf/ey_incident_report.gif?OpenImageResource" WIDTH=1004 HEIGHT=85><br />
</DIV id="Header"><br />
<br />
<DIV id="Menu"><br />
<A href=http://www.webdeveloper.com/forum/archive/index.php/"https://tis-ny-domino5.tisny.com/ey/incident.nsf">Incident Report Home</A><br />
</DIV id="Menu"><br />
<br />
<DIV id="Content"><br />
<TABLE summary="Button table top"<br />
style="margin:0px; padding:0px;" cellSpacing=0 cellPadding=0<br />
width=661 valign=top border=0><br />
<TR><TD colspan=20 class=normal vAlign=top style="BORDER-BOTTOM: #4ac401 1px solid"><br />
<B>Welcome to EY Incident Management</B></TD></TR><br />
<TR style="align:right; valign:top;"><br />
<td align=right width=650></td><br />
<td style="align:right"><br />
<INPUT TYPE=button VALUE="Edit Report"<br />
onClick="code goes here"></td><td width=3></td><br />
...varying buttons go here...<br />
</TD></TABLE><br />
</DIV id="Content"><br />
<br />
<br />
And my CSS definitions:<br />
#Header {<br />
position:absolute;<br />
top:0px; left:0px;<br />
width:1004;<br />
height:85px;<br />
margin:0px;<br />
padding:0px;<br />
border-style:solid;<br />
border-width:01px;<br />
border-color:red;<br />
}<br />
<br />
#Menu {<br />
position:absolute;<br />
top:86px;<br />
left:0px; width:251px;<br />
margin:0px;<br />
padding:0px;<br />
border-style:solid;<br />
border-width:01px;<br />
border-color:red;<br />
}<br />
#Content {<br />
position:absolute; top:86px;<br />
left:250px;<br />
margin:0px;<br />
padding:0px;<br />
border-style:solid;<br />
border-width:01px;<br />
border-color:red;<br />
} <br />
<br />
Go easy on me because I'm still getting used to CSS.<br />
<br />
Thank in advance,<br />
Jeff<!--content-->
 
Back
Top