나는 자바 스크립트에서 HTML 양식을 만드는 중이라서 그것은 작동하지만 두 개의 버튼 : 취소하고 제출은 별도의 라인 (위에 다른 하나)에 있습니다. 어떻게 수평으로 정렬 할 수 있습니까? 두 개의 버튼을 동일한 수평 정렬에 두는 방법은 무엇입니까?
var new_comment_form = "<form id='add_comment' method='post'><textarea name='problem_comment' cols=60 rows=6 id='problem_comment'>" + problem_comment_text + "</textarea><input type='hidden' id='problem_id' name='problem_id' value='" + problem_id + "' /><input type='hidden' id='problem_comment_id' value='" + problem_comment_id + "' /><input type='submit' class='button' value='Edit Message' /><input type='button' class='button' id='cancel_comment' data-problem_id='" + problem_id + "' value='Cancel' /></form>";
그리고 그런데
는, 그것이 청소기되도록 사람들이 일반적으로 이런 종류의 작업을 수행하려면 어떻게 :) 매우 지저분한 외모 : 여기 는 내가 가지고있는 코드를 무엇입니까?감사합니다.
테이블은 테이블 형식의 데이터를 표시해야합니다. –