2011-03-04 5 views

답변

7

당신은 h2의 내부 span을 넣을 수 있지만, 그 필요는 없습니다.

h2 a { 
    // style here 
} 

또는 링크를 클래스를 제공 할 수 있습니다 : 당신이 <h2>의 내부 <a> 스타일을 원한다면, 그냥 뭔가 같이 할

h2 a.toc-backref { 
    // style here 
} 
+0

다행입니다. :) – dmackerman

3
h2 .toc-backref 
{ 
    /* Any style here */ 
} 
2

당신은 또한 시도 할 수

<h2 class="toc-backref"><a href="#id8">Debug</a></h2> 

스타일은 CSS로 표시됩니다.

.toc-backref 
{ 

    //your style.... 

} 
관련 문제