facebook twitter hatena line google mixi email

Html/スマホ/タグ

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
  • css
.tag-area {
 /*padding:5px 5px 5px 5px;*/
 text-align:center;
}
.tag-area li {
 float:left;
 list-style-type: none;
 list-style: none;
 margin: 0px;
 padding: 0px;
}
.tag-area ul {
 clear:both;
 list-style: none;
 margin: 0px;
 padding: 0px;
}
.tag-area a {
 display:block;
 margin:1px 3px;
 padding:3px;
 background-color:#ffffff;
 font-size:20px;
 /*line-height:15px;*/
 border:2px solid #0000ee;
 text-decoration: none;
 border-radius: 5px;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
}
.tag-area a:visited {
 border:2px solid #551A8B;
}
.tag-area .clear {
 height: 0;
 margin: 0;
 padding: 0;
 clear: both;
}
  • html
<div class="tag-area">
       <ul>
           <li><a href="/" >test</a></li>
       </ul>
       <div class="clear"></div>
</div>