게시판 스타일시트좀 봐주세요 정보
게시판 스타일시트좀 봐주세요관련링크
본문
freeboard 라는 게시판 스킨을 사용하려고 하는데요
게시판 리스트의 롤오버 링크시 스타일이 바뀌질 않는군요
한 한달전에 해봤다가 안되서리 말았는데
다시 맘 먹고 질문답변 보아가며 하고 있는데
계속 안되는군요
일단 freeboard 라는 게시판 스킨에서 리스트 제목부분의
스타일을 바꾸려고 합니다
아래의 gblist.skin.php를 아래와 같이 바꾸어도 안되고
또 그누의 style.css 를 바꾸어도 안되는군요
(그냥 밑줄만 원하는 색상으로 바뀌는군요,,롤오버시 글씨칼라는 그대로구요.....ㅈㅈ)
제가 수정하는 부분이 맞는지 조차 몰겠습니다.ㅋㅋ
쪼메 도와주세요....
아래가 freeboard라는 스킨에 있는 gblist.skin.php 입니다
<!-- 2003.11.26 작성 -->
<style>
.bh {font-size:8pt;COLOR: #666666;font-weight:bold;}
.tt {font-size:9pt;COLOR: #575757;}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #FF8040;
}
a:active {
text-decoration: none;
}
</style>
<table width='<?=$width?>' align=center><tr><td width=100% height=10></td></tr></table>
<table cellpadding="0" cellspacing="0" width='<?=$width?>' align=center >
<tr>
<td width='80%' height="25" colspan="1">
<? if ($is_category) { ?>
<select name=ca_id onchange="location='<?=$category_location?>'+this.value;" class=select style="color:666666; background-color:ECECEC; margin:0; padding:0; border-width:0;">
<option value=''>전체</option>
<?=$category_option?>
</select>
<? } ?>
</td>
<td width='20%' height="25" colspan="1" align=right>
<? if ($admin_href) { echo "<a href='$admin_href'>A</a>"; } ?>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width='<?=$width?>' align=center >
<tr><td width="9%" height="3" colspan="1" bgcolor='2F8AC4'></td>
<td width="91%" height="3" colspan="11" bgcolor='eeeeee'></td></tr>
<tr><td width="2" height="4" colspan="1"></td></tr>
</table>
<table cellpadding="0" cellspacing="0" width='<?=$width?>' align=center background="<?="$board_skin/td_bg.gif"?>" height="31">
<form name=frmgblist method='post' action='./?doc=bbs/gbdeleteall.php'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=section value='<?=$section?>'>
<input type=hidden name=page value='<?=$page?>'>
<tr>
<td width="2" height="29" ></td>
<td width="50" height="29" align="center">번호</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<? if ($is_category) { ?>
<td width="70" height="29" align="center">분류</td>
<td width="1" height="29" avlign=top><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<? } ?>
<td width='' height="29" align="center">제목</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<td width="60" height="29" align="center">등록인</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<td width="80" height="29" align="center">등록일</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<td width="40" height="29" align="center">조회</td>
<td width="2" height="29" ></td>
</tr>
</td></tr></table>
<table height="30" cellpadding="0" cellspacing="0" width='<?=$width?>' align=center valign=top>
<tr><td width="" height="6"></td></tr>
<tr>
<td width='' >
<?
// 번호에 이미지를 사용할 경우는 아래의 주석을 제거하고 $list[$i][num]의 내용을 수정후 사용하세요.
// if (!is_int($list[$i][num])) { $list[$i][num] = "<img src='$board_skin/img/arrow.gif'>"; }
?>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($list[$i][num] == '공지') { $list[$i][num] = "<img src='$board_skin/icon_notice.gif' border=0>"; } // 공지를 이미지로 변환 ?>
<? if ($list[$i][num] == '<font color=crimson><b>→</b></font>')
{ $list[$i][num] = "<img src='$board_skin/icon_arrow.gif' border=0>"; } // 화살표표시를 이미지로 변환 ?>
<tr class=letterspacing>
<td width="2" height="30"></td>
<td width="40" height="30" align="center"><span class=tt><?=$list[$i][num]?></span></td>
<td width="1" height="30"></td>
<? if ($is_category) { ?><td width="70" height="30" align="center">
<span class=tt><?=$list[$i][ca_name]?></span>
</td>
<td width="1"></td>
<? } ?>
<td width='' height="30">
<? if ($is_checkdelete) { ?><input type=checkbox name=chk_wr_id[] value='<?=$list[$i][wr_id]?>'><? } ?>
<?=$list[$i][reply]?>
<?=$list[$i][icon_reply]?>
<a href='<?=$list[$i][href]?>'>
<? if ($list[$i][is_notice]) echo "<b>"; ?>
<span class=tt><?=$list[$i][subject]?></span>
<? if ($list[$i][is_notice]) echo "</b>"; ?></a>
<span style='font-size:8pt;'>
<?=$list[$i][icon_new]?>
<?=$list[$i][icon_file]?>
<?=$list[$i][icon_hot]?>
<?=$list[$i][icon_battle]?>
<?=$list[$i][icon_secret]?></td>
<td width="1"></td>
<td width="60" height="30" align="center" nowrap><span class=tt><? if($default[de_admin] == $list[$i][mb_id] || $board[bo_admin] == $list[$i][mb_id]) { echo $list[$i][name]; } else { echo gblayer($list[$i][mb_id], cut_str($list[$i][mb_id],12,''), $list[$i][wr_email], $list[$i][wr_homepage]); }?></span></td>
<td width="1"></td>
<td width="80" height="30" align="center"><span class=tt><?=$list[$i][datetime]?></span></td>
<td width="1"></td>
<td width="40" height="30" align="center"><span class=tt><?=$list[$i][wr_hit]?></span></td>
<td width="2"></td>
</tr>
<tr>
<td width="2" height="1" colspan="13" bgcolor="#ffffff" background="<?="$board_skin/bg_dotline.gif"?>"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=13 align=center height=100 class='content contentbg'>자료가 없습니다.</td></tr>"; } ?>
</form>
</table>
<table width='<?=$width?>' align=center>
<tr><td colspan=2 height=15></td></tr>
<tr>
<td width=200>
<? if ($list_href) { echo "<a href='$list_href'><img src='$board_skin/list.gif' border=0 alt='목록' align=absmiddle></a>"; } ?>
<? if ($write_href) { echo "<a href='$write_href'><img src='$board_skin/write.gif' border=0 alt='글쓰기' align=absmiddle></a>"; } ?>
<? if ($is_checkdelete) { ?>
<a href='javascript:all_checked(true);'><img src='<?="$board_skin/allchk.gif"?>' border=0 alt='전체선택' align=absmiddle></a>
<a href='javascript:all_checked(false);'><img src='<?="$board_skin/allunchk.gif"?>' border=0 alt='선택해제' align=absmiddle></a>
<a href='javascript:all_delete();'><img src='<?="$board_skin/allchkdel.gif"?>' border=0 alt='선택삭제' align=absmiddle></a>
<script language='javascript'>
function all_checked(sw)
{
var f = document.frmgblist;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]') {
f.elements[i].checked = sw;
}
}
}
function all_delete()
{
var f = document.frmgblist;
var chk_count = 0;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]' && f.elements[i].checked) {
chk_count++;
}
}
if (!chk_count) {
alert("게시물을 하나 이상 선택하세요.");
return;
}
if (!confirm("선택한 게시물을 정말 삭제 하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다"))
{
return;
}
f.submit();
}
</script>
<? } ?>
</td>
<td width='' height=15 align=right>
<? if ($prev_section_href) { echo "<a href='$prev_section_href'><img src='$board_skin/sectionprev.gif' border=0 alt='이전검색'></a>"; } ?>
<?=$write_pages?>
<? if ($next_section_href) { echo "<a href='$next_section_href'><img src='$board_skin/sectionnext.gif' border=0 alt='다음검색'></a>"; } ?></td>
</tr>
<tr><td colspan=2 height=20></td></tr>
</table>
<table colspan=13 cellpadding="6" cellspacing="1" width='<?=$width?>' align=center bgcolor=ededed>
<tr>
<form name=fsearch method=get action='<?="./"?>'>
<input type=hidden name=doc value='<?=$doc?>'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<td width="" height="25"align="center" colspan="13" bgcolor=fdfdfd>
<select name=sselect class=select style="color:666666; background-color:ffffff; margin:0; padding:0; border-width:0;">
<option value='wr_subject|wr_content' style="background-color:ffffff;color:666666">제목+내용</option>
<option value='wr_name' style="background-color:ffffff;color:666666">이름</option>
<option value='wr_subject' style="background-color:ffffff;color:666666">제목</option>
<option value='wr_content' style="background-color:ffffff;color:666666">내용</option>
</select>
<input type=text name=stext size=26 required itemname='검색어' value='<?=$stext?>' class=search>
<input type=image src='<?="$board_skin/search.gif"?>' border=0 alt='검색' align=absmiddle>
</td>
</form>
</tr>
</table>
게시판 리스트의 롤오버 링크시 스타일이 바뀌질 않는군요
한 한달전에 해봤다가 안되서리 말았는데
다시 맘 먹고 질문답변 보아가며 하고 있는데
계속 안되는군요
일단 freeboard 라는 게시판 스킨에서 리스트 제목부분의
스타일을 바꾸려고 합니다
아래의 gblist.skin.php를 아래와 같이 바꾸어도 안되고
또 그누의 style.css 를 바꾸어도 안되는군요
(그냥 밑줄만 원하는 색상으로 바뀌는군요,,롤오버시 글씨칼라는 그대로구요.....ㅈㅈ)
제가 수정하는 부분이 맞는지 조차 몰겠습니다.ㅋㅋ
쪼메 도와주세요....
아래가 freeboard라는 스킨에 있는 gblist.skin.php 입니다
<!-- 2003.11.26 작성 -->
<style>
.bh {font-size:8pt;COLOR: #666666;font-weight:bold;}
.tt {font-size:9pt;COLOR: #575757;}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #FF8040;
}
a:active {
text-decoration: none;
}
</style>
<table width='<?=$width?>' align=center><tr><td width=100% height=10></td></tr></table>
<table cellpadding="0" cellspacing="0" width='<?=$width?>' align=center >
<tr>
<td width='80%' height="25" colspan="1">
<? if ($is_category) { ?>
<select name=ca_id onchange="location='<?=$category_location?>'+this.value;" class=select style="color:666666; background-color:ECECEC; margin:0; padding:0; border-width:0;">
<option value=''>전체</option>
<?=$category_option?>
</select>
<? } ?>
</td>
<td width='20%' height="25" colspan="1" align=right>
<? if ($admin_href) { echo "<a href='$admin_href'>A</a>"; } ?>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width='<?=$width?>' align=center >
<tr><td width="9%" height="3" colspan="1" bgcolor='2F8AC4'></td>
<td width="91%" height="3" colspan="11" bgcolor='eeeeee'></td></tr>
<tr><td width="2" height="4" colspan="1"></td></tr>
</table>
<table cellpadding="0" cellspacing="0" width='<?=$width?>' align=center background="<?="$board_skin/td_bg.gif"?>" height="31">
<form name=frmgblist method='post' action='./?doc=bbs/gbdeleteall.php'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=section value='<?=$section?>'>
<input type=hidden name=page value='<?=$page?>'>
<tr>
<td width="2" height="29" ></td>
<td width="50" height="29" align="center">번호</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<? if ($is_category) { ?>
<td width="70" height="29" align="center">분류</td>
<td width="1" height="29" avlign=top><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<? } ?>
<td width='' height="29" align="center">제목</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<td width="60" height="29" align="center">등록인</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<td width="80" height="29" align="center">등록일</td>
<td width="1" height="29"><img src='<?="$board_skin/midback_bar.gif"?>' border="0"></td>
<td width="40" height="29" align="center">조회</td>
<td width="2" height="29" ></td>
</tr>
</td></tr></table>
<table height="30" cellpadding="0" cellspacing="0" width='<?=$width?>' align=center valign=top>
<tr><td width="" height="6"></td></tr>
<tr>
<td width='' >
<?
// 번호에 이미지를 사용할 경우는 아래의 주석을 제거하고 $list[$i][num]의 내용을 수정후 사용하세요.
// if (!is_int($list[$i][num])) { $list[$i][num] = "<img src='$board_skin/img/arrow.gif'>"; }
?>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($list[$i][num] == '공지') { $list[$i][num] = "<img src='$board_skin/icon_notice.gif' border=0>"; } // 공지를 이미지로 변환 ?>
<? if ($list[$i][num] == '<font color=crimson><b>→</b></font>')
{ $list[$i][num] = "<img src='$board_skin/icon_arrow.gif' border=0>"; } // 화살표표시를 이미지로 변환 ?>
<tr class=letterspacing>
<td width="2" height="30"></td>
<td width="40" height="30" align="center"><span class=tt><?=$list[$i][num]?></span></td>
<td width="1" height="30"></td>
<? if ($is_category) { ?><td width="70" height="30" align="center">
<span class=tt><?=$list[$i][ca_name]?></span>
</td>
<td width="1"></td>
<? } ?>
<td width='' height="30">
<? if ($is_checkdelete) { ?><input type=checkbox name=chk_wr_id[] value='<?=$list[$i][wr_id]?>'><? } ?>
<?=$list[$i][reply]?>
<?=$list[$i][icon_reply]?>
<a href='<?=$list[$i][href]?>'>
<? if ($list[$i][is_notice]) echo "<b>"; ?>
<span class=tt><?=$list[$i][subject]?></span>
<? if ($list[$i][is_notice]) echo "</b>"; ?></a>
<span style='font-size:8pt;'>
<?=$list[$i][icon_new]?>
<?=$list[$i][icon_file]?>
<?=$list[$i][icon_hot]?>
<?=$list[$i][icon_battle]?>
<?=$list[$i][icon_secret]?></td>
<td width="1"></td>
<td width="60" height="30" align="center" nowrap><span class=tt><? if($default[de_admin] == $list[$i][mb_id] || $board[bo_admin] == $list[$i][mb_id]) { echo $list[$i][name]; } else { echo gblayer($list[$i][mb_id], cut_str($list[$i][mb_id],12,''), $list[$i][wr_email], $list[$i][wr_homepage]); }?></span></td>
<td width="1"></td>
<td width="80" height="30" align="center"><span class=tt><?=$list[$i][datetime]?></span></td>
<td width="1"></td>
<td width="40" height="30" align="center"><span class=tt><?=$list[$i][wr_hit]?></span></td>
<td width="2"></td>
</tr>
<tr>
<td width="2" height="1" colspan="13" bgcolor="#ffffff" background="<?="$board_skin/bg_dotline.gif"?>"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=13 align=center height=100 class='content contentbg'>자료가 없습니다.</td></tr>"; } ?>
</form>
</table>
<table width='<?=$width?>' align=center>
<tr><td colspan=2 height=15></td></tr>
<tr>
<td width=200>
<? if ($list_href) { echo "<a href='$list_href'><img src='$board_skin/list.gif' border=0 alt='목록' align=absmiddle></a>"; } ?>
<? if ($write_href) { echo "<a href='$write_href'><img src='$board_skin/write.gif' border=0 alt='글쓰기' align=absmiddle></a>"; } ?>
<? if ($is_checkdelete) { ?>
<a href='javascript:all_checked(true);'><img src='<?="$board_skin/allchk.gif"?>' border=0 alt='전체선택' align=absmiddle></a>
<a href='javascript:all_checked(false);'><img src='<?="$board_skin/allunchk.gif"?>' border=0 alt='선택해제' align=absmiddle></a>
<a href='javascript:all_delete();'><img src='<?="$board_skin/allchkdel.gif"?>' border=0 alt='선택삭제' align=absmiddle></a>
<script language='javascript'>
function all_checked(sw)
{
var f = document.frmgblist;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]') {
f.elements[i].checked = sw;
}
}
}
function all_delete()
{
var f = document.frmgblist;
var chk_count = 0;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]' && f.elements[i].checked) {
chk_count++;
}
}
if (!chk_count) {
alert("게시물을 하나 이상 선택하세요.");
return;
}
if (!confirm("선택한 게시물을 정말 삭제 하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다"))
{
return;
}
f.submit();
}
</script>
<? } ?>
</td>
<td width='' height=15 align=right>
<? if ($prev_section_href) { echo "<a href='$prev_section_href'><img src='$board_skin/sectionprev.gif' border=0 alt='이전검색'></a>"; } ?>
<?=$write_pages?>
<? if ($next_section_href) { echo "<a href='$next_section_href'><img src='$board_skin/sectionnext.gif' border=0 alt='다음검색'></a>"; } ?></td>
</tr>
<tr><td colspan=2 height=20></td></tr>
</table>
<table colspan=13 cellpadding="6" cellspacing="1" width='<?=$width?>' align=center bgcolor=ededed>
<tr>
<form name=fsearch method=get action='<?="./"?>'>
<input type=hidden name=doc value='<?=$doc?>'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<td width="" height="25"align="center" colspan="13" bgcolor=fdfdfd>
<select name=sselect class=select style="color:666666; background-color:ffffff; margin:0; padding:0; border-width:0;">
<option value='wr_subject|wr_content' style="background-color:ffffff;color:666666">제목+내용</option>
<option value='wr_name' style="background-color:ffffff;color:666666">이름</option>
<option value='wr_subject' style="background-color:ffffff;color:666666">제목</option>
<option value='wr_content' style="background-color:ffffff;color:666666">내용</option>
</select>
<input type=text name=stext size=26 required itemname='검색어' value='<?=$stext?>' class=search>
<input type=image src='<?="$board_skin/search.gif"?>' border=0 alt='검색' align=absmiddle>
</td>
</form>
</tr>
</table>
댓글 전체
아래처럼 해보시면...
<style>
.bh {font-size:8pt;COLOR: #666666;font-weight:bold;}
.tt {font-size:9pt;COLOR: #575757;}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
a.tt:link {
text-decoration: none;
}
a.tt:visited {
text-decoration: none;
}
a.tt:hover {
text-decoration: underline;
color: #FF8040;
}
a.tt:active {
text-decoration: none;
}
</style>
<style>
.bh {font-size:8pt;COLOR: #666666;font-weight:bold;}
.tt {font-size:9pt;COLOR: #575757;}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
a.tt:link {
text-decoration: none;
}
a.tt:visited {
text-decoration: none;
}
a.tt:hover {
text-decoration: underline;
color: #FF8040;
}
a.tt:active {
text-decoration: none;
}
</style>