css입문자입니다.

css입문자입니다.

QA

css입문자입니다.

답변 1

본문

이게 맞는 문법인가요?

<style>

menu {font-family: "나눔고딕";color:#000; font-size:14px;}

a:link {
 color: #000;
 text-decoration: none;
}
a:visited {
 color: #000;
 text-decoration: none;
}
a:hover {
 color: #000;
 text-decoration: none;
}
a:active {
 color: #000;
 text-decoration: none;
}

 </style>

 

폰트에 볼드를 주고싶고 각이벤트에 동일한폰트(볼드, 14px)에 색상만 바꾸고 싶습니다. 방법이 있나요?

이 질문에 댓글 쓰기 :

답변 1


<style>
.menu {font-family: "나눔고딕";color:#000; font-size:14px;
     font-wieght:bold; /* 여기를 추가하세요*/
}
a:link {
 color: #000;
 text-decoration: none;
}
a:visited {
 color: #000;
 text-decoration: none;
}
a:hover {
 color: #000;
 text-decoration: none;
}
a:active {
 color: #000;
 text-decoration: none;
}
 </style>

 

그리고, 사용하실 태그가

 

사용하실 태그의 ID ,  Class의 차이는 

아래 URL을 참고하세요

 

http://www.homejjang.com/07/class_id.php

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 125,873
© SIRSOFT
현재 페이지 제일 처음으로