ul li에 알수없는 마진
모이
td class=etc
ul
liinput type=text id= class=small / - input type=text id= class=small //li
liinput type=text id= class=long //li
liinput type=text id= class=long //li
/ul
/td
td안에 ul li로 넣었는데요.table.joinwrite td.etc ul{margin:0; padding:0; background:green}
table.joinwrite td.etc li{margin-bottom:3px; padding:0; margin-left:0; background:red;}녹색은 ul이고요 빨간색은 li인데요.. 왜 저렇게 왼쪽에 붙지 못하고 왼쪽마진이 생길까요?
또 이걸 없애는 방법은 뭐가 있을까요?
margin-left:-40px로 하면 되긴하지만 더 좋은 방법이 알고 싶습니다.
-
도도한
먼저 class=\etc\ 알아야 할것 같은데요.
아니면
liinput type=\text\ id=\\ class=\long\ //liliinput type=\text\ id=\\ class=\long\ //li
코드상 에서 li내용/lili내용/li 간격 없이 붙어 보세요. -
나려
구글크롬 소스보기로 보면서 css하나하나 지워도 도움이 많이 되던데..
-
키움
FIREBUG~!
-
청식
class=\etc\ 클레스 안에 머 있는지 보세요 .. 단편적이라 정확히 찾긴 힘드네요 ^^;
-
설화
제가 저기 위에 소스 가지고 가서 테스트 했을땐 잘 나온던데 혹시 다른곳에서 ul 자체에 마진값이 먹고 있는거 아닐까요 css와 html 소스 전체를 보지 않아서^^;;
-
흰추위
float 도 있고 position 도 있고