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

html 코드 질문 채택완료

뿌잉23 1년 전 조회 1,677

<a rel="nofollow noopener" href="<a href="https://naver.com"" target="_blank" rel="noopener noreferrer">https://naver.com"</a> target="_blank" style="display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: 0.25rem; border-width: 1px; padding: 0.5rem 1rem; font-weight: 500; border-color: transparent; background-color: rgb(239, 68, 68, 1); color: #fff; text-decoration: none; font-size: 1.25rem;">하하하하하</a>

 

위코드를 html코드로 넣고 에디터모드 하면 아래처럼 나오는데요,

http://sir.kr/data/editor/2401/3553023271_1705579318.2366.png" width="337" />

 

글쓰기하고 보면

http://sir.kr/data/editor/2401/3553023271_1705579377.2136.png" width="296" />

이렇게 블록을 해야 글자가 보여요 ~ 위 처럼 코드 적용하려면 어떻게 해야할까요~ 

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

답변 3개

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

class를 지정하고, 스타일코드는 게시판스킨/style.css 파일에 넣으세요.

 

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

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

덜덜렁이

background  색을 #코드나 red 로 하면 될 듯

게시판 에디터에 스타일 소스 입력하면 안되는게 꽤있는거 같아요

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

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

1년 전

게시판 스타일 중에서 더 우선으로 적용되는 스타일이 있나 개발자 도구로 한번 확인을 해보세요

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

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

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

로그인