묻고답하기
css class명이 중첩되는 경우
2012.02.18 21:24
위와같은 기술대로 고쳐야하는대 이해가안가네요....
아래는 xe 최근글 위젯 스킨입니다. 아래의 예로 중첩을 피할려면 어떻게 해야할까요
.documentWrap { position:relative; width:100%; overflow:hidden; }
.documentWrap .items { margin:0; padding:0; overflow:hidden;}
.documentWrap .items li { background:url(../bull.gif) left center no-repeat; font-size:.9em; display:block; color:#666; margin-right:.1em; font:normal 10px tahoma, arial, sans-serif; overflow:hidden; white-space:nowrap; list-style:none; width:100%; padding:5px 0 5px 20px;}
.documentWrap .items li em.date { padding-bottom:2px; font:normal 10px tahoma, arial, sans-serif; color:#EF8D00;}
.documentWrap .items li span.comment a { font-weight:bold; color:#EF8D00; font-size:10px;}
.documentWrap .items li a { color:#666; line-height:1.5em; text-decoration:none; font:normal 11px arial, 돋움, sans-serif; text-decoration:none; }
.documentWrap .items li a:hover { text-decoration:underline;}
.orange .items li em.date { color:#EF8D00; }
.orange .items li span.comment a { color:#EF8D00; }
.blue .items li em.date { color:#458acb; }
.blue .items li span.comment a { color:#458acb; }
.green .items li em.date { color:#6db53e; }
.green .items li span.comment a { color:#6db53e; }
.gray .items li em.date { color:#999; }
.gray .items li span.comment a { color:#999; }
.purple .items li em.date { color:#da50c2; }
.purple .items li span.comment a { color:#da50c2; }
<!--%import("css/normal.css")-->
<div class="documentWrap {$colorset}">
<ul class="items">
<!--@foreach($widget_info->document_list as $oDocument)-->
<li>
<!--@if($widget_info->display_regdate == 'Y')-->
<em class="date">{$oDocument->getRegdate("m-d")}</em>
<!--@end-->
<a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitle($widget_info->subject_cut_size)}</a>
<!--@if($oDocument->getCommentCount())-->
- <span class="comment"><a href="{$oDocument->getPermanentUrl()}#comment">{$oDocument->getCommentCount()}</a></span>
<!--@end-->
<!--{$oDocument->printExtraImages($widget_info->duration_new)}-->
</li>
<!--@end-->
</ul>
</div>
댓글 0
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
소라타임 | 이 표시 없애려면 어떻게 하나요? 답변좀해주세요.ㅠ.ㅠ [2] | 2008.10.13 by 소라타임 |
시그니 | 플래시 와 제로보드게시판 연동에 관해 질문있습니다. [3] | 2008.10.13 by 느까끼 |
귀순★ | 게시판이 가운데 떠야하는데 계속 밑에 뜨는데 왜그런가요? ㅠ [3] | 2008.10.13 by 느까끼 |
서효재 | 제로보드XE 업데이트 관련 질문 드리겠습니다 [1] | 2008.10.13 by 느까끼 |
무지한 | 불루게이트님의 제로보드XE 메뉴 출력 위젯 v0.2에 대한 질문 | |
왕초보 | SCM 로그관리를 사용하고 있는데요, 로그번호가 5천-6천이 넘었습니다 | |
개돌 | Trac 자동 가입 | |
김성일216 | 갤러리게시판을 만들어서 사진을 업로드 했을때,,,,,,,, [2] | 2008.10.13 by 느까끼 |
부안프로그래밍 | 회원가입인증메일이 안와요! [11] | 2008.10.13 by 부안프로그래밍 |
나나나나난 | 결제프로그램 [2] | 2008.10.13 by 나나나나난 |
송지하 | Http 500 error가 떴네요. [1] | 2008.10.13 by 백성찬 |
팔뚜기 | 구글광고어떻게 다나요? [1] | 2008.10.13 by 우리아기 |
팔뚜기 | 홈페이지홍보는 어디다 해야 사람들이 잘모이나요? [1] | 2008.10.13 by 탑심 |
부안프로그래밍 | 재 질문!!회원가입인증메일이 안와요! | |
김도일294 | 갤러리게시판 섬네일 크기 조정 [2] | 2008.10.13 by 김도일294 |
notre | 글쓰기의 파일첨부 버튼 오작동 [2] | 2008.10.13 by notre |
지랭 | warning error [1] | 2008.10.13 by 덱스터 |
이효남806 | 쪽지기능이 안되는 이유가... -_-;; [4] | 2008.10.14 by chanyi |
푸른메 | xe는 첨부파일이 db에 저장되지 않나요? [3] | 2008.10.14 by 백성찬 |
부안프로그래밍 | 로그인후 나타나는 정보창 수정법 [1] | 2008.10.14 by 덱스터 |