Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this questionOk, i have this page and i added some jquery to slide some fields down if needed. But when i do th开发者_高级运维at my textarea's become floating in the page where they would've been if the div wasn't slid down. I store them in tables with fixed layouts so that might be something. Does anyone know a way to get this over with? Thanks in advance!
<table width='100%' style='table-layout:fixed'>
<tr>
<td width='60%'>
<body>
<form action='javascript:sendComment($idMe)' method='POST'>";
<textarea onkeypress='return process(event, $idMe);' onkeydown='shift(event)' onfocus='commentboxfocus($idMe)' onblur='commentboxblur($idMe)' class='text' id='com$idMe' wrap='hard' style='wrap:hard;height:30px;width:100%;position:relative' name='comment'>Type a comment!</textarea>
<input type='hidden' name='comid' value='$idMe' id='comid$idMe'>
<br>
<span id='comstatus$idMe'></span>
</form>
</td>
<td width='60px'>
<b id='LDStatusLike$idMe' style='color:green'>$likeMe</b><br><a href='#' onclick='likeThis($idMe); return false;'><img src='+1.png' style='border:1px solid darkblue'></a>
</td>
<td width='60px'>
<b id='LDStatusDislike$idMe' style='color:red'>$dislikeMe</b><br><a href='#' onclick='dislikeThis($idMe); return false;'><img src='-1.png' style='border:1px solid darkblue'></a>
</td>
</tr>
</table>
is a small part containing the textareas...
Would help if you included some code, but from your description you need to assign in CSS position:absolute;
to those elements that you are sliding down.
精彩评论