ie9 이하 버전에서는 게시판이 흰색으로 나옵니다. 정보
ie9 이하 버전에서는 게시판이 흰색으로 나옵니다.본문
사파리 크롬 파폭같은경우에는 ie9 처럼 아무이상없이 투명처리되서 나오는데요
유독 ie9 이하버전 에서는 저렇게 흰색으로 나옵니다..
배경처리부분떄문에 그런건가요?? 어디를 수정해야될까요... 도와주세요.
view.skin.php 소스입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 게시글 보기 시작 -->
<table style="background-color:transparent" width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>
<!-- 링크 버튼 -->
<?
ob_start();
?>
<table width='100%' cellpadding=0 cellspacing=0>
<tr height=35>
<td width=75%>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/btn_search_list.gif' border='0' align='absmiddle'></a> "; } ?>
<? echo "<a href=\"$list_href\"><img src='$board_skin_path/img/btn_list.gif' border='0' align='absmiddle'></a> "; ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/btn_write.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin_path/img/btn_reply.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/btn_update.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/btn_delete.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($good_href) { echo "<a href=\"$good_href\" target='hiddenframe'><img src='$board_skin_path/img/btn_good.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($nogood_href) { echo "<a href=\"$nogood_href\" target='hiddenframe'><img src='$board_skin_path/img/btn_nogood.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($scrap_href) { echo "<a href=\"javascript:;\" onclick=\"win_scrap('$scrap_href');\"><img src='$board_skin_path/img/btn_scrap.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/btn_copy.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/btn_move.gif' border='0' align='absmiddle'></a> "; } ?>
</td>
<td width=25% align=right>
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/btn_prev.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path/img/btn_next.gif' border='0' align='absmiddle'></a> "; } ?>
</td>
</tr>
</table>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
<!-- 제목, 글쓴이, 날짜, 조회, 추천, 비추천 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td height=2 background=<?=$board_skin_path?>/img/top_bar.gif></td></tr>
<tr><td height=28 bgcolor=#000000 style="padding:5px 0 5px 0;">
<table width=100% cellpadding=0 cellspacing=0>
<tr><td width=70><img src="<?=$board_skin_path?>/img/subject.gif" width=50 height=20></TD>
<td style='word-break:break-all;'><strong><? if ($is_category) { echo ($category_name ? "[$view[ca_name]] " : ""); } ?><font color=#df4209><?=cut_hangul_last(get_text($view[wr_subject]))?></font></strong></td>
<td width=50><a href="javascript:scaleFont(+1);"><img src='<?=$board_skin_path?>/img/icon_zoomin.gif' border=0 title='글자 확대'></a>
<a href="javascript:scaleFont(-1);"><img src='<?=$board_skin_path?>/img/icon_zoomout.gif' border=0 title='글자 축소'></a></td>
</tr>
</table></td></tr>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
<tr><td height=28>
<table width=100% cellpadding=0 cellspacing=0>
<tr><td width=70><img src="<?=$board_skin_path?>/img/writer.gif" width=70 height=20></TD>
<td><font color=#cccccc><?=$view[name]?></font></td>
<? if ($is_ip_view) { ?>
<td style="PADDING-LEFT: 10px" width=50><img src="<?=$board_skin_path?>/img/ip.gif" width=40 height=20></TD>
<td><font color=#cccccc><?=$ip?></font></td>
<?}?>
<td width=70><img src="<?=$board_skin_path?>/img/date.gif" width=70 height=20></td>
<td><font color=#cccccc><?=substr($view[wr_datetime],2,14)?></font></td>
<td width=54><img src="<?=$board_skin_path?>/img/hit.gif" width=54 height=20></td>
<td><font color=#cccccc><?=$view[wr_hit]?></font></td>
</tr>
</table>
</td>
</tr>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
<tr><td height=28>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<? if ($is_good) { ?><td width=70><img src="<?=$board_skin_path?>/img/good.gif" width=68 height=20></td><td width=50><font color=#cccccc><?=$view[wr_good]?></font></td><?}?>
<? if ($is_nogood) { ?><td width=80><img src="<?=$board_skin_path?>/img/nogood.gif" width=80 height=20></td><td style="PADDING-LEFT: 10px" width=50><font color=#cccccc><?=$view[wr_nogood]?></font></td><?}?>
<? if ($trackback_url) { ?><td><a href="javascript:trackback_send_server('<?=$trackback_url?>');" style="letter-spacing:0;" title='주소 복사'><img src="<?=$board_skin_path?>/img/trackback.gif" width=100 height=20 border=0></a></td><?}?>
</tr>
</table>
</td>
</tr>
<?
// 가변 파일
$cnt = 0;
for ($i=0; $i<count($view[file]); $i++) {
if ($view[file][$i][source] && !$view[file][$i][view]) {
$cnt++;
//echo "<tr><td height=22><img src='{$board_skin_path}/img/file.gif' align=absmiddle> <a href='{$view[file][$i][href]}' title='{$view[file][$i][content]}'><strong>{$view[file][$i][source]}</strong> ({$view[file][$i][size]}), Down : {$view[file][$i][download]}, {$view[file][$i][datetime]}</a></td></tr>";
echo "<tr><td height=22><img src='{$board_skin_path}/img/file.gif' align=absmiddle> <a href=\"javascript:file_download('{$view[file][$i][href]}', '{$view[file][$i][source]}');\" title='{$view[file][$i][content]}'><strong>{$view[file][$i][source]}</strong> ({$view[file][$i][size]}), Down : {$view[file][$i][download]}, {$view[file][$i][datetime]}</a></td></tr>";
}
}
// 링크
$cnt = 0;
for ($i=1; $i<=$g4[link_count]; $i++) {
if ($view[link][$i]) {
$cnt++;
$link = cut_str($view[link][$i], 70);
echo "<tr><td height=22><img src='{$board_skin_path}/img/link.gif' align=absmiddle> <a href='{$view[link_href][$i]}' target=_blank><strong>{$link}</strong> ({$view[link_hit][$i]})</a></td></tr>";
}
}
?>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
<tr>
<td height="150"
style='word-break:break-all;padding:10px;' bgColor='#151515'>
<span id="writeContents" class="ct lh">
<?
// 파일 출력
for ($i=0; $i<=count($view[file]); $i++) {
if ($view[file][$i][view])
echo $view[file][$i][view] . "<p>";
}
?>
<!-- 내용 출력 -->
<font color=#cccccc><?=$view[content];?></font></span>
<?//echo $view[rich_content]; //
과 같은 코드를 사용할 경우?>
<!-- 테러 태그 방지용 --></xml></xmp><a href=""></a><a href=''></a>
<? if ($is_signature) { echo "<br>$signature<br><br>"; } // 서명 출력 ?></td>
</tr>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
</table>
<?
// 코멘트 입출력
include_once("./view_comment.php");
?>
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td height=2 background=<?=$board_skin_path?>/img/bottom_bar.gif></td></tr>
</table>
<?=$link_buttons?>
</td></tr></table><br>
<script language="JavaScript">
function file_download(link, file) {
<? if ($board[bo_download_point] < 0) { ?>if (confirm("'"+file+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board[bo_download_point])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
document.location.href=link;
}
</script>
<script language="JavaScript" src="<?="$g4[path]/js/board.js"?>"></script>
<script language="JavaScript">
window.onload=function() {
resizeBoardImage(<?=(int)$board[bo_image_width]?>);
drawFont();
}
</script>
<!-- 게시글 보기 끝 -->
유독 ie9 이하버전 에서는 저렇게 흰색으로 나옵니다..
배경처리부분떄문에 그런건가요?? 어디를 수정해야될까요... 도와주세요.
view.skin.php 소스입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 게시글 보기 시작 -->
<table style="background-color:transparent" width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>
<!-- 링크 버튼 -->
<?
ob_start();
?>
<table width='100%' cellpadding=0 cellspacing=0>
<tr height=35>
<td width=75%>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/btn_search_list.gif' border='0' align='absmiddle'></a> "; } ?>
<? echo "<a href=\"$list_href\"><img src='$board_skin_path/img/btn_list.gif' border='0' align='absmiddle'></a> "; ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/btn_write.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin_path/img/btn_reply.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/btn_update.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/btn_delete.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($good_href) { echo "<a href=\"$good_href\" target='hiddenframe'><img src='$board_skin_path/img/btn_good.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($nogood_href) { echo "<a href=\"$nogood_href\" target='hiddenframe'><img src='$board_skin_path/img/btn_nogood.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($scrap_href) { echo "<a href=\"javascript:;\" onclick=\"win_scrap('$scrap_href');\"><img src='$board_skin_path/img/btn_scrap.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/btn_copy.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/btn_move.gif' border='0' align='absmiddle'></a> "; } ?>
</td>
<td width=25% align=right>
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/btn_prev.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path/img/btn_next.gif' border='0' align='absmiddle'></a> "; } ?>
</td>
</tr>
</table>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
<!-- 제목, 글쓴이, 날짜, 조회, 추천, 비추천 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td height=2 background=<?=$board_skin_path?>/img/top_bar.gif></td></tr>
<tr><td height=28 bgcolor=#000000 style="padding:5px 0 5px 0;">
<table width=100% cellpadding=0 cellspacing=0>
<tr><td width=70><img src="<?=$board_skin_path?>/img/subject.gif" width=50 height=20></TD>
<td style='word-break:break-all;'><strong><? if ($is_category) { echo ($category_name ? "[$view[ca_name]] " : ""); } ?><font color=#df4209><?=cut_hangul_last(get_text($view[wr_subject]))?></font></strong></td>
<td width=50><a href="javascript:scaleFont(+1);"><img src='<?=$board_skin_path?>/img/icon_zoomin.gif' border=0 title='글자 확대'></a>
<a href="javascript:scaleFont(-1);"><img src='<?=$board_skin_path?>/img/icon_zoomout.gif' border=0 title='글자 축소'></a></td>
</tr>
</table></td></tr>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
<tr><td height=28>
<table width=100% cellpadding=0 cellspacing=0>
<tr><td width=70><img src="<?=$board_skin_path?>/img/writer.gif" width=70 height=20></TD>
<td><font color=#cccccc><?=$view[name]?></font></td>
<? if ($is_ip_view) { ?>
<td style="PADDING-LEFT: 10px" width=50><img src="<?=$board_skin_path?>/img/ip.gif" width=40 height=20></TD>
<td><font color=#cccccc><?=$ip?></font></td>
<?}?>
<td width=70><img src="<?=$board_skin_path?>/img/date.gif" width=70 height=20></td>
<td><font color=#cccccc><?=substr($view[wr_datetime],2,14)?></font></td>
<td width=54><img src="<?=$board_skin_path?>/img/hit.gif" width=54 height=20></td>
<td><font color=#cccccc><?=$view[wr_hit]?></font></td>
</tr>
</table>
</td>
</tr>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
<tr><td height=28>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<? if ($is_good) { ?><td width=70><img src="<?=$board_skin_path?>/img/good.gif" width=68 height=20></td><td width=50><font color=#cccccc><?=$view[wr_good]?></font></td><?}?>
<? if ($is_nogood) { ?><td width=80><img src="<?=$board_skin_path?>/img/nogood.gif" width=80 height=20></td><td style="PADDING-LEFT: 10px" width=50><font color=#cccccc><?=$view[wr_nogood]?></font></td><?}?>
<? if ($trackback_url) { ?><td><a href="javascript:trackback_send_server('<?=$trackback_url?>');" style="letter-spacing:0;" title='주소 복사'><img src="<?=$board_skin_path?>/img/trackback.gif" width=100 height=20 border=0></a></td><?}?>
</tr>
</table>
</td>
</tr>
<?
// 가변 파일
$cnt = 0;
for ($i=0; $i<count($view[file]); $i++) {
if ($view[file][$i][source] && !$view[file][$i][view]) {
$cnt++;
//echo "<tr><td height=22><img src='{$board_skin_path}/img/file.gif' align=absmiddle> <a href='{$view[file][$i][href]}' title='{$view[file][$i][content]}'><strong>{$view[file][$i][source]}</strong> ({$view[file][$i][size]}), Down : {$view[file][$i][download]}, {$view[file][$i][datetime]}</a></td></tr>";
echo "<tr><td height=22><img src='{$board_skin_path}/img/file.gif' align=absmiddle> <a href=\"javascript:file_download('{$view[file][$i][href]}', '{$view[file][$i][source]}');\" title='{$view[file][$i][content]}'><strong>{$view[file][$i][source]}</strong> ({$view[file][$i][size]}), Down : {$view[file][$i][download]}, {$view[file][$i][datetime]}</a></td></tr>";
}
}
// 링크
$cnt = 0;
for ($i=1; $i<=$g4[link_count]; $i++) {
if ($view[link][$i]) {
$cnt++;
$link = cut_str($view[link][$i], 70);
echo "<tr><td height=22><img src='{$board_skin_path}/img/link.gif' align=absmiddle> <a href='{$view[link_href][$i]}' target=_blank><strong>{$link}</strong> ({$view[link_hit][$i]})</a></td></tr>";
}
}
?>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
<tr>
<td height="150"
style='word-break:break-all;padding:10px;' bgColor='#151515'>
<span id="writeContents" class="ct lh">
<?
// 파일 출력
for ($i=0; $i<=count($view[file]); $i++) {
if ($view[file][$i][view])
echo $view[file][$i][view] . "<p>";
}
?>
<!-- 내용 출력 -->
<font color=#cccccc><?=$view[content];?></font></span>
<?//echo $view[rich_content]; //

<!-- 테러 태그 방지용 --></xml></xmp><a href=""></a><a href=''></a>
<? if ($is_signature) { echo "<br>$signature<br><br>"; } // 서명 출력 ?></td>
</tr>
<tr><td height=1 background=<?=$board_skin_path?>/img/b_dot.gif></td></tr>
</table>
<?
// 코멘트 입출력
include_once("./view_comment.php");
?>
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td height=2 background=<?=$board_skin_path?>/img/bottom_bar.gif></td></tr>
</table>
<?=$link_buttons?>
</td></tr></table><br>
<script language="JavaScript">
function file_download(link, file) {
<? if ($board[bo_download_point] < 0) { ?>if (confirm("'"+file+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board[bo_download_point])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
document.location.href=link;
}
</script>
<script language="JavaScript" src="<?="$g4[path]/js/board.js"?>"></script>
<script language="JavaScript">
window.onload=function() {
resizeBoardImage(<?=(int)$board[bo_image_width]?>);
drawFont();
}
</script>
<!-- 게시글 보기 끝 -->
댓글 전체
소스를 올려주셔야 답변이 가능할듯 싶은데요..;;