홈 위쪽으로 공백이 생기는 현상 정보
홈 위쪽으로 공백이 생기는 현상본문
헤드파일을 걸면 위쪽에 딱 붙지 않고 한줄 정도의 공백이 생깁니다.
align=left 로 왼쪽 정렬을 하면 상단이랑 왼쪽에 딱 달라붙는데요
align=center로 중앙 정렬만 하면 위에 공백이 생깁니다.
<body topmargin="0"> 주면 나모에서 미리보기할때는 위로 붙는데
헤드로 걸면 웹상에서는 똑같이 공백이 나오네요
이거 해결하려면 어찌해야할까요ㅠㅠ
스트레스네요 진짜ㅠㅠㅠㅠ
align=left 로 왼쪽 정렬을 하면 상단이랑 왼쪽에 딱 달라붙는데요
align=center로 중앙 정렬만 하면 위에 공백이 생깁니다.
<body topmargin="0"> 주면 나모에서 미리보기할때는 위로 붙는데
헤드로 걸면 웹상에서는 똑같이 공백이 나오네요
이거 해결하려면 어찌해야할까요ㅠㅠ
스트레스네요 진짜ㅠㅠㅠㅠ
댓글 전체
링크를 주셔요 그래야 css테스트를 하지요
http://yrtest.dothome.co.kr/gnuboard4/bbs/board.php?bo_table=test
요게 테스트 게시판 링크구요
<html><head>
<title>제목 없음</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table align="center" cellpadding="0" cellspacing="0" width="1260">
<tr>
<td width="1260" colspan="2"><img src="http://yrtest.dothome.co.kr/testhead.jpg" width="1260" height="50" border="0"></td>
</tr>
<tr>
<td width="153" valign="top"><img src="http://yrtest.dothome.co.kr/testhead2.jpg" width="221" height="209" border="0"></td>
<td width="1107">
이게 걸어놓은 헤드파일 입니다ㅠㅠ
요게 테스트 게시판 링크구요
<html><head>
<title>제목 없음</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table align="center" cellpadding="0" cellspacing="0" width="1260">
<tr>
<td width="1260" colspan="2"><img src="http://yrtest.dothome.co.kr/testhead.jpg" width="1260" height="50" border="0"></td>
</tr>
<tr>
<td width="153" valign="top"><img src="http://yrtest.dothome.co.kr/testhead2.jpg" width="221" height="209" border="0"></td>
<td width="1107">
이게 걸어놓은 헤드파일 입니다ㅠㅠ
소스보기 하시면 소스보기상의 27줄에서 <html>여기부터
31줄 <body ~~~~~~~~~~~>까지 지우세요 그럼 정상으로 뜰겁니다
31줄 <body ~~~~~~~~~~~>까지 지우세요 그럼 정상으로 뜰겁니다
지워도 똑같네요ㅠㅠ
<a name="g4_head></a>
<====요부분인 공백이 생기고 있습니다 이걸 삭제하셔야해요
이부분에 소스나 오류난 뭔가가 있는거 같은데요
<table align="center" cellpadding="0"~~~~~>
구글 크롬에서 요소검사 해보시면 이부분에 공백이 생긴게 보이실겁니다
<====요부분인 공백이 생기고 있습니다 이걸 삭제하셔야해요
이부분에 소스나 오류난 뭔가가 있는거 같은데요
<table align="center" cellpadding="0"~~~~~>
구글 크롬에서 요소검사 해보시면 이부분에 공백이 생긴게 보이실겁니다
head.sub.php파일들어가서 해당부분 삭제 했는데도 똑같네요ㅠ 뭐 건들인것도 없는데 닷홈에서 제공하는 그누 깔면 계속 이래요ㅠ
body가 2번 불러와지네요. 하나로 바꾸시고,
<table cellpadding="0" cellspacing="0" width="1260" align="center">
<tr>
<td width="1260">
<p align="center"><img src="http://yrtest.dothome.co.kr/testhead.jpg" width="1260" height="50" border="0">
이 부분이 레이아웃 테이블 같은데 끝에 닫혀있질 않네요.
푸터 파일에 </p></td></tr></table>를 넣어주시면 될것 같네요.
<table cellpadding="0" cellspacing="0" width="1260" align="center">
<tr>
<td width="1260">
<p align="center"><img src="http://yrtest.dothome.co.kr/testhead.jpg" width="1260" height="50" border="0">
이 부분이 레이아웃 테이블 같은데 끝에 닫혀있질 않네요.
푸터 파일에 </p></td></tr></table>를 넣어주시면 될것 같네요.
이분 해결하셨을까요? 읔. 저도 그런데.. 소스를 아무리 살펴봐도 이유가 없네욤. ㅠㅠ
저도 그래요 ㅠ,ㅠ