CSS 뉴비는 여기에 있습니다. 이상한 일이 생기고, 링크 사이에 간격이 생겨서 그 이유를 모르겠습니다.div 내부 링크 사이의 CSS 간격
재설정을 위해 html5 보일러 판 CSS를 사용하고 있습니다.
HTML 코드 :
<div id="style-switcher">
<a href="#" id="theme-1" data-theme="css/theme1.css">Link 1</a>
<a href="#" id="theme-2" data-theme="css/theme2.css">Link 2</a>
<a href="#" id="theme-3" data-theme="css/theme3.css">Link 3</a>
<a href="#" id="theme-4" data-theme="css/theme4.css">Link 4</a>
</div>
CSS
#style-switcher
{
position: fixed;
top:0;
left: 0;
}
#style-switcher a
{
color: #EEEEEE;
text-decoration: none;
font-size: 3.3em;
text-align: center;
background-color: #333333;
}
JS 바이올린 : http://jsfiddle.net/RX7cg/
앞의 두 주석으로도 문제가 해결되었지만 이것이 가장 우아한 것 같아요. –