홈페이지 가운데 정렬할 수 있는 방법좀 가르쳐주세요 정보
홈페이지 가운데 정렬할 수 있는 방법좀 가르쳐주세요관련링크
http://www.unicare.co.kr
185회 연결
첨부파일
본문
http://www.unicare.co.kr
혹시 index 파일이나 top 혹은 css에서 일괄적으로
가운데 정렬 할수있는 방법이 없을까요?
정말 절박합니다.
이걸 다 페이지마다 수정할수도 없고..
혹시 홈페이지를 가운데 정렬할수있는 명령어가 있다면 꼭 부탁드립니다.
감사합니다.
index 파일의 내용입니다.
<frameset rows="82,*" border="0" align="center">
<frame src="top.asp" name="top" scrolling="no" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" align="center">
<frame src="body.asp" name="body" scrolling="auto" marginwidth="0" marginheight="0" topmargin="0" align="center">
</frameset>
혹시여기서 수정을해서 전체를 가운데 정렬로 할수있을까요?
혹시 index 파일이나 top 혹은 css에서 일괄적으로
가운데 정렬 할수있는 방법이 없을까요?
정말 절박합니다.
이걸 다 페이지마다 수정할수도 없고..
혹시 홈페이지를 가운데 정렬할수있는 명령어가 있다면 꼭 부탁드립니다.
감사합니다.
index 파일의 내용입니다.
<frameset rows="82,*" border="0" align="center">
<frame src="top.asp" name="top" scrolling="no" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" align="center">
<frame src="body.asp" name="body" scrolling="auto" marginwidth="0" marginheight="0" topmargin="0" align="center">
</frameset>
혹시여기서 수정을해서 전체를 가운데 정렬로 할수있을까요?
댓글 전체
frameset을 iframe으로 만들어서 중앙정렬 하심 될듯
구체적으로 답변을 부탁드립니다. 제가 8년전에는 홈페이지를 만들었는데, 지금은 다 잊어버렸습니다.
혹시 위의 index 페이지를 수정함으로써 전체페이지가 가운데 정렬로 올수가 있을까요?
페이지를 일일이 다 열어서 해야한다면, 정말 너무나 난감합니다. 꼭~~ 답변부탁드립니다.
혹시 위의 index 페이지를 수정함으로써 전체페이지가 가운데 정렬로 올수가 있을까요?
페이지를 일일이 다 열어서 해야한다면, 정말 너무나 난감합니다. 꼭~~ 답변부탁드립니다.
//index
<table align=center width=''>
<tr>
<td>
<iframe name=top scrolling..... src='top.asp'>
</td>
</tr>
<tr>
<td>
<iframe name=body src='body.asp' ..........>
</td>
</tr>
</table>
요렇게 정리하심 될듯합니다 .... 은 frameset에 있는걸 그대로 적용하심 될듯하네요
<table align=center width=''>
<tr>
<td>
<iframe name=top scrolling..... src='top.asp'>
</td>
</tr>
<tr>
<td>
<iframe name=body src='body.asp' ..........>
</td>
</tr>
</table>
요렇게 정리하심 될듯합니다 .... 은 frameset에 있는걸 그대로 적용하심 될듯하네요
답변 정말 감사합니다.
그런데 위의데로 했는데 사이트가 아주 작은 박스안에 보입니다.
거의 지금 댓글입력하는 정도의 박스안에
그것도 탑은 왼쪽으로 보이고 바디부분은 오른쪽으로 나누어져서 나옵니다.
그래도 뭔가 방법이 있다는 희망이있어서다행입니다.
인덱스파일에 아래와 같이 넣었습니다.
<body>
<table align=center width="780">
<tr>
<td>
<iframe name=top rows="82,*" border="0" scrolling="no" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" src='top.asp'>
</td>
</tr>
<tr>
<td>
<iframe name=body src='body.asp' scrolling="auto" marginwidth="0" marginheight="0" topmargin="0">
</td>
</tr>
</table>
</body>
휴~ 이거때문에 거의 한달은 속을썩고있데..
도움 간절히 부탁드립니다.
그런데 위의데로 했는데 사이트가 아주 작은 박스안에 보입니다.
거의 지금 댓글입력하는 정도의 박스안에
그것도 탑은 왼쪽으로 보이고 바디부분은 오른쪽으로 나누어져서 나옵니다.
그래도 뭔가 방법이 있다는 희망이있어서다행입니다.
인덱스파일에 아래와 같이 넣었습니다.
<body>
<table align=center width="780">
<tr>
<td>
<iframe name=top rows="82,*" border="0" scrolling="no" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" src='top.asp'>
</td>
</tr>
<tr>
<td>
<iframe name=body src='body.asp' scrolling="auto" marginwidth="0" marginheight="0" topmargin="0">
</td>
</tr>
</table>
</body>
휴~ 이거때문에 거의 한달은 속을썩고있데..
도움 간절히 부탁드립니다.
가장 간단한 방법은
테그 전체를 <center></center>로 묶어 버리는 방법입니다만
정석은
테그전체를 포함하는 <div>를 하나 만들어서 묶고
여기에 클래스를 줘서 해당 클래스에 스타일을 먹이는 방법입니다.
예를 들면...
<style type="text/css">
.wrap {margin:0 auto;}
</style>
<body>
<div class="wrap">
테그들 솰라솰라~
</div>
</body>
이런 방법..인것이죠..
테그 전체를 <center></center>로 묶어 버리는 방법입니다만
정석은
테그전체를 포함하는 <div>를 하나 만들어서 묶고
여기에 클래스를 줘서 해당 클래스에 스타일을 먹이는 방법입니다.
예를 들면...
<style type="text/css">
.wrap {margin:0 auto;}
</style>
<body>
<div class="wrap">
테그들 솰라솰라~
</div>
</body>
이런 방법..인것이죠..