text-align:center; 질문좀요 ㅠ
동생몬
#all_article {overflow:hidden; height:1%; padding:0; margin:0;}
#all_article .date {overflow:hidden; margin-bottom:29px; border:3px solid #dadce2; text-align:center;}
#all_article .date .today {overflow:hidden; padding:15px 15px 13px 15px; background:#fff; border:1px solid #a6b0cb;}
#all_article .date .today .today_img {float:left;}
#all_article .date .today .today_img img {margin-top:-2px; padding-right:2px;}
#all_article .date .today .top {float:left;}
#all_article .date .today .top li {float:left;}
#all_article .date .today .top li a {color:#666; vertical-align:middle;}
#all_article .date .today .top li a.on {color:#e22e20;}
#all_article .date .today span.bar{padding:0 4px; font:12px 돋음,Dotum; color:#e1e1e1; line-height:11px;}
코드가 이런식인데요~ center가 안먹혀요~ 뭘 넣어야 하나요??
-
플랜
오오 감사합니다~ 한두개만 display:inline로 바꿔도 안되더니
float:left;를 전부 inline으로 바꾸니 되엇어요 ~~
감사합니당~~~~ -
하루키
text-align:center;를 이용하셔서 가운데 위치에 놓으려하시는건가요?
float:left;를 쓰시면 위문장은 무의미해집니다.
다른방법을 찾으심이 좋습니다^ㅡ^;