웹표준 css 기본 코드 > 십년전오늘

십년전오늘

10년전 추억의 책장을 넘기며

웹표준 css 기본 코드 정보

웹표준 css 기본 코드

본문

웹표준 작업시 기본적으로 사용하는 css를 작성해둔걸 보았는데..

phpschool, sir 둘중 어디서 본것 같은데 기억이 안나네요.

아 이놈의 치매란...
  • 복사

댓글 전체

다음 괜찮지 않습니까?

<style type="text/css">
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,form,fieldset,p,button{margin:0;padding:0;}
body,div,dl,dt,dd,h1,h2,h3,h4,form,fieldset,p,th,td,input{color:#333;font-family:dotum,돋움,sans-serif;font-size:12px;font-weight:normal;}
hr{display:none;}
img,fieldset{border:0 none;}
ul,ol,li{list-style:none outside;}
img,input,select,textarea{vertical-align:middle;}
a {color:#444;text-decoration:none;}
a:hover{color:#4559E9;text-decoration:underline;}
strong{font-weight:bold;}
참고하기에는 좋은 자료긴합니다. inline을 css로..
근데, 전 잘 안합니다... 크로싱 스타일은 기본이지만,
홈피가 style의 비중은 크지 않고.. php의 기능성 홈피라면 전 inline을 더 추천합니다..
헐 찾았습니다. 가영아빠님도 감사합니다.

에그당님이 올려주신 자게 코멘트에 있군요..(이런건 팁에다가..좀^^)
http://sir.co.kr/bbs/board.php?bo_table=cm_free&wr_id=379072&sca=&sfl=wr_subject%7C%7Cwr_content&stx=display&sop=and
아다리 맞는 html 은 http://joy.playcast.kr/ 소스보기 하시면 됩니다.

<div id="home" class="fixed aLeft">

aLeft 붙이면 레이아웃 좌측정렬되고 aRight하면 우측정렬 비워두면 기본 센터정렬이에요
© SIRSOFT
현재 페이지 제일 처음으로