최신글 미니 카렌다 문의

최신글 미니 카렌다 문의

QA

최신글 미니 카렌다 문의

답변 1

본문

사용 원본 스킨

http://sir.kr/g5_skin/9849?sfl=wr_subject%7C%7Cwr_content&stx=%EB%8B%AC%EB%A0%A5

 

최신글 아래 그림에서 같이 일정이 있을시 날자 표시 부분인데요

28835d890243d43245969dfb5e24ce6a_1467816862_5791.jpg
위와 같이 <원하는 것>처럼 동그란 배경을

표시하고 싶습니다. 아래 원본 <style>소스입니다. 어느부분을 수정해야 되냐요? 한번 봐주세요.

 

a:link.writeday, a:visited.writeday  {text-align: center; font-size: 14px; color: #24b301;}

이부분을 아래처럼 적용하니 글씨부분에  일부 보이긴 합니다.<오늘 날짜 표시 style 힌트 얻음>

a:link.writeday, a:visited.writeday  {text-align: center; font-size: 14px; color: #24b301;height:<?php echo $cellh ?>px; width:<?php echo $cellw; ?>px;
 background: url(<?php echo $latest_skin_url; ?>/img/won.gif) no-repeat bottom;



===<원본 style 전부>===================

<style type="text/css">
td.title    {text-align: center; padding-top: 1px; padding-bottom: 1px; height: 25px; font-weight:bold;}
td.invalid  {
 text-align: center; padding-top: 2px; height:<?php echo $cellh; ?>px; width:<?php echo $cellw; ?>px;
 /*background: url(<?php echo $latest_skin_url; ?>/img/mini2.gif) no-repeat bottom;*/
}

td.valid    {
 text-align: center; padding-top: 2px; height:<?php echo $cellh; ?>px; width:<?php echo $cellw; ?>px;
 /*background: url(<?php echo $latest_skin_url; ?>/img/mini1.gif) no-repeat bottom;*/
}

td.today    {
 text-align: center; padding-top: 2px; height:<?php echo $cellh ?>px; width:<?php echo $cellw; ?>px;
 background: url(<?php echo $latest_skin_url; ?>/img/mini3.gif) no-repeat bottom;
}
.bgsun    {text-align: center; font-size: 11px; color: #ff00ff; padding-top: 2px; height:<?php echo $cellh; ?>px; width:<?php echo $cellw; ?>px;
 background: url(<?php echo $latest_skin_url; ?>/img/mini.gif) no-repeat bottom;
}
.bgsat  {text-align: center; font-size: 11px; color: #3366cc; padding-top: 2px; height:<?php echo $cellh?>px; width:<?php echo $cellw; ?>px;
 background: url(<?php echo $latest_skin_url; ?>/img/mini.gif) no-repeat bottom;
}
.bgweek   {text-align: center; font-size: 11px; padding-top: 2px; height:<?php echo $cellh?>px; width:<?php echo $cellw; ?>px;
 background: url(<?php echo $latest_skin_url; ?>/img/mini.gif) no-repeat bottom;
}

p.title     {font-size: 1em; font-weight:bold}
p.sunday    {text-align: center; font-size: 11px; color: #FF0000;}
p.saturday  {text-align: center; font-size: 11px; color: #3366CC;}
p.weekday   {text-align: center; font-size: 11px;}

a:link.writeday, a:visited.writeday  {text-align: center; font-size: 14px; color: #24b301;}
img {border:0}

</style>

==================== 

 

 

이 질문에 댓글 쓰기 :

답변 1

질문자 분이 찾으신 내용 부분이 맞습니다.

그 부분을


a:link.writeday, a:visited.writeday  {text-align: center; font-size: 14px; color: #24b301;height:<?php echo $cellh ?>px; width:<?php echo $cellw; ?>px;
 background: url(<?php echo $latest_skin_url; ?>/img/won.gif) no-repeat center center;

와 같이 한번 적용해 보세요.

 

감사합니다.
똑같이, 글자부분에만 적용이 되네요. <td>에 적용되지 않고요.
 td.writeday
{text-align: center; font-size: 14px; color: #24b301;height:<?php echo $cellh ?>px; width:<?php echo $cellw; ?>px;
 background: url(<?php echo $latest_skin_url; ?>/img/won.gif) no-repeat center center;} 이런식으로 되야 하는데 ~ 이것은 전혀 나오지 않고요.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 26
© SIRSOFT
현재 페이지 제일 처음으로