valign

how to vertically align a <input> and <iframe> inside a <td>?

I've tried putting valign="top" as attribute of <td> but in vain. <tr> <td> <span class="validationInline">*</span> Security Code: </td> <td valign="top"> <input type="text" /> <iframe scrolling="no" height="21px" frameborder="0" width="62px" marginheight="0" marginwidth="0" src="http://google.com"&gt;&lt;/iframe&gt; </t...

When will <td valign="top"> not working?

Have you guys ever concluded about this? Now I've met one,very strange,don't know why. My code: <td valign="top"> <input type="text" /> <iframe scrolling="no" height="21px" frameborder="0" width="62px" marginheight="0" marginwidth="0" src="Server/SecCode.php"> </iframe> </td> But it turns out to be that the "input" is va...

Is there a way to place content in bottom of a div using only one div?

My css is this: .stage{ width:960px; background-image:url('stage.png'); background-position:bottom; background-repeat:repeat-x; min-height:400px; float:left; text-align:center; } This places the background image of the bottom of the div, and the content is centered. But I cant figure out how to place the c...