테스트 사이트 - 개발 중인 베타 버전입니다

최신글 리스트 정렬방법 채택완료

must 1년 전 조회 1,867

 

아래

최신글 게시판 이

제목 하고  글쓴이 날짜 가 정렬이 깔끔하게 안되는데요

제목글자수를 길게 쓰거나 하면 글쓴이 , 날짜 표기가 줄바꿈되어 아래행으로 이동되고

삐둘빼둘 됩니다 ㅜ

글자수를 딱 맞춰서 쓸수없고 제목글이 각각 길이가 틀린데  우측에 글쓴이,날짜표기가 고정이안되서요

제목글자수 길이와 상관없이  글쓴이, 날짜 표기가 딱 변동되지 않고 우측줄에 딱고정 되게 하려면 어떻게 하는지요

 

 

 

// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); if($options['bxslider']) add_javascript('', 10);

$thumb_width  = isset($options['thumb_width']) ? $options['thumb_width'] : $board['bo_gallery_width']; $thumb_height = isset($options['thumb_height']) ? $options['thumb_height'] : $board['bo_gallery_height']; $box_row = isset($options['box_row']) ? $options['box_row'] : 6; $slide = isset($options['latest_name']) ? $options['latest_name'] : 'glist'; $speed = isset($options['bxslider_speed']) ? $options['bxslider_speed'] : '200';

$bo_subject = isset($options['latest_title']) ? $options['latest_title'] : $bo_subject;

?>

    
        
            
                

                 href="/board.php?bo_table=" title="">더보기+                 
                                                          
            
            
                
                    
                            

                            

                            $thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $thumb_width, $thumb_height);                         if($thumb['src']) {                             $img_content = ''.$thumb['alt'].'';                         } else {                             if($thumb['ori']) {                                 $img_content = ''.$thumb['alt'].'';                             } else {                                 $img_content = '';                             }                         }                         ?>                         

  •                                                                                       

                                
                            
  •                                                  
  •                             비밀글 ";

                                if ($list[$i]['icon_new']) echo "N새글";

                                if ($list[$i]['icon_hot']) echo "H인기글";                             ?>

                                                                 ".$list[$i]['subject']."";                                 else                                     echo $list[$i]['subject'];                                 ?>                             

                                

                                // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }                             // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

                                //echo $list[$i]['icon_reply']." ";                             // if ($list[$i]['icon_file']) echo " " ;                             //if ($list[$i]['icon_link']) echo " " ;

                                if ($list[$i]['comment_cnt'])  echo "                             + ".$list[$i]['comment_cnt']."";                             ?>                                                      

  •                         

                            

      ';                         else echo '';                         }                         ?>                     
                    

                                                               

        
    
 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
s
sinbi Expert
1년 전

아래 글 참고해 글제목 선택자와 위치 확인 후,

https://homzzang.com/b/css-251

 

아래 글 참고해 글제목 글자길이 자르기 코드 넣어보세요.

https://homzzang.com/b/css-281

 

수정 후엔 캐시새로고침 하셔서 반영하세요.

남들도 반영시키려면 css 버전 변경하세요.

https://homzzang.com/b/css-248

로그인 후 평가할 수 있습니다

답변에 대한 댓글 2개

m
must
1년 전
감사해요 근데 넘복잡해 못하겠네염 쉬운게업네용 에궁
s
sinbi
1년 전
저도 위 매뉴얼들 하나씩 보면서 합니다.
복잡해서 기억 다 못 해요. ㅜㅜ

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인