lindm Posted November 27, 2009 Share Posted November 27, 2009 I have the form setup below: <table width="500" border="0"> <tr> <td width="100"> <input type="text" name="textfield" id="textfield" style="width:95%;"/>% </td> <td> </td> </tr> </table> As you see the %-sign comes on a second row...I want it to come next to the field, but still keeping the width at 95%. In other words is it possible for the 95% to be 95% of the width of the cell minus the text width? Quote Link to comment Share on other sites More sharing options...
vinpkl Posted November 28, 2009 Share Posted November 28, 2009 for best results use 'px' instead of '%' in width width:95px; vineet Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.