채택완료
form에 있는 글이 내려가지는데 한줄로 나오게 하려면 어떻게 해야되나요?

배송비고가 밑으로 내려가서
높이가 놓아지는데 한줄로 나오게 할 수 없을까요?
도움부탁드립니다.
|
답변 1개
채택된 답변
+20 포인트
2017-09-28 (목) 22:38:51
Copy
<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <style type="text/css"> table { border-collapse: collapse; collapse; border-spacing: 0; width: 200px; } td { border: 1px solid #d2dee2; } table.tbl2 { table-layout: fixed; } table.tbl2 td { overflow: hidden; } </style> </head> <body> <table class="tbl1"> <colgroup> <col width="50%"> <col> </colgroup> <tr> <td>배송기사</td> <td>배송비고</td> </tr> <tr> <td> <select> <option>옵션option옵션option옵션option옵션option옵션option옵션option옵션option</option> </select> </td> <td><input type="text" size="1" /></td> </tr> </table> <hr /> <table class="tbl2"> <colgroup> <col width="50%"> <col> </colgroup> <tr> <td>배송기사</td> <td>배송비고</td> </tr> <tr> <td> <select> <option>옵션option옵션option옵션option옵션option옵션option옵션option옵션option</option> </select> </td> <td><input type="text" size="1" /></td> </tr> </table> </body></html>
답변을 작성하려면 로그인이 필요합니다.