Middle and Resize

liunx

Guest
I have tried to follow the instructions that jason has given for this but I am falling short. When I first did the page it looked like this: <!-- m --><a class="postlink" href="http://www.klokeconsulting.com/emi/test/emialt.htm">http://www.klokeconsulting.com/emi/test/emialt.htm</a><!-- m --><br />
<br />
When I try and get the table in the middle I get this:<br />
<!-- m --><a class="postlink" href="http://www.klokeconsulting.com/emi/test/emialt2.htm">http://www.klokeconsulting.com/emi/test/emialt2.htm</a><!-- m --><br />
Where the bordered frame is locked in place rather than float like the first one. How can get the table in the middle but also to rezise when the browser window is enlarged or made smaller?<!--content-->big typo in table tag:<br />
<br />
valign="=middle"<br />
<br />
that attribute is not even valid, try this:<br />
<br />
align="center"<!--content-->Thanks Kevin. The two equal signs screwed things up a bit. I still did need the valign="middle" though. that is the vertical alignment so that it moves up and down.<!--content-->I seem to recognize valign as a valid attribute, as well as align. <br />
<br />
valign= top/ middle/ bottom<br />
<br />
align=left/ center/ right<!--content-->hmmmmm....as far as I know the valign attribute does not work in the table tag. Try this test code on an html page, the table, it will not align vertically in the middle of the page.<br />
<br />
<table bgcolor=yellow border=1 valign=middle height=100 width=100><br />
<tr><br />
<td><br />
test<br />
</td><br />
</tr><br />
</table><br />
<br />
you need to nest the table like this:<br />
<br />
<table border=0 height=100% width=100%><br />
<tr><br />
<td valign=middle align=center><br />
<table bgcolor=yellow border=1 valign=middle height=100 width=100><br />
<tr><br />
<td><br />
test<br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><!--content-->Originally posted by Dr. Web <br />
I seem to recognize valign as a valid attribute, as well as align. <br />
<br />
valign= top/ middle/ bottom<br />
<br />
align=left/ center/ right <br />
<br />
Yes, but not of the table tag.<!--content-->I was curious Kevin and I always thought the valign was workable in the table tag and found that it will not. <br />
<br />
it will only work in the <tr> or <td> tags. also it will only move teh cell (and information) to where you say in the valign. that is very strange as I always thought different. good catch there Kevin.<!--content-->yes, you are correct kevin.... the table contents are affected by the tags. I thought you meant that VALIGN was not valid at all.<!--content-->
 
Back
Top