어리석은 질문 일지 모르지만 주위를 둘러 볼 수는 없습니다. 창 크기를 조정 했더라도 끊어지지 않는 방식으로 요소 (소셜 미디어 아이콘)를 중앙에, 수평으로 배치하는 방법?div의 중심에 요소 배치
<div class="mob_social">
<p1>Your friends might want to fix their iPhones.</p1>
<div class="mob_icon">
<ul>
<li><a href="http://www.facebook.com/">
<img src="http://www.w3newbie.com/wp-content/uploads/facebook1.png" alt=" the three sayings like a slogan regenerate, refresh and renew" title="regenerate, renew and refresh">
</a>
</li>
<li><a href="https://www.instagram.com">
<img src="http://www.w3newbie.com/wp-content/uploads/googleplus.png" alt=" the three sayings like a slogan regenerate, refresh and renew" title="regenerate, renew and refresh">
</a>
</li>
<li><a href="https://www.twitter.com">
<img src="http://www.w3newbie.com/wp-content/uploads/twitter1.png" alt=" the three sayings like a slogan regenerate, refresh and renew" title="regenerate, renew and refresh">
</a>
</li>
</ul>
</div>
난 항상 혼란이 질문을 주저 : 다음은 마크 업이다. 나는 그것이 어떻게 행해지는지 알고 싶다. 여기에 아이콘으로 만든 피들입니다. 목록에
'li {display : inline-block; } '를 가로로 가운데에 놓습니다. 윈도우를 최소화 할 때 깨지 않게하고 싶다면'.mob_social'과 같은 너비를 설정해야한다고 생각합니다.'.mob_social {width : 200px; 여백 : 0 자동; }' – Cyclonecode
왜 JavaScript 및 jQuery 태그가 필요합니까? – j08691
@ j08691 그냥 답을 알고있는 사람들에게 질문을하기보다 많은 태그를 붙이고 최대한의 노출을 얻을 수 있습니다 ... – chris