I have a simple input element of type image that should be placed to the right of a text. Here is the code: <th align="left">ID <form action="index.php" method="post"><input type="image" src="/img/icons/bullet_arrow_ASC.png" value="DESC" alt="" name="sorting" /></form> </th> Code (markup): No matter what I try, the image always shows up below the "ID" text. I have already tried to remove all the blank spaces between the text and the input tag. I've also made sure that the form or the input field do not have any margins or paddings that could cause a line break. How could I format the input to show to the right of the "ID" text?
place "ID" inside the form. <th align="left"><form action="index.php" method="post">ID <input type="image" src="/img/icons/bullet_arrow_ASC.png" value="DESC" alt="" name="sorting" /></form></th>