Posted By

greeneggs614 on 10/29/11


Tagged

div html a center tag


Versions (?)

Center in


 / Published in: CSS
 

  1. .popup .btn-holder div.btn-wrap {
  2. float:right;
  3. width:83px;
  4. height:22px;
  5. line-height:22px;
  6. cursor:pointer;
  7. /* background: url('/images/btn01.png') no-repeat; */
  8. border:0;
  9. color:#fff;
  10. font-weight:bold;
  11. font-size:11px;
  12. text-align:center;
  13. background: url('/images/btn01.png') no-repeat;
  14. /*text-shadow:-1px -1px 1px #3c3c3c;*/
  15. }
  16. div.btn-wrap:hover {
  17. background: url('/images/btn01.png') no-repeat -87px 0px;
  18. }
  19.  
  20. div.btn-wrap a,
  21. div.btn-wrap a:link,
  22. div.btn-wrap a:visited,
  23. div.btn-wrap a:hover {
  24. text-align:left;
  25. border: none;
  26. margin:0 0 1em 0;
  27. width:83px;
  28. height:22px;
  29. }
  30.  
  31.  
  32. <div class="btn-wrap">
  33. <a title="blah" class="reply" href="#">Text</a>
  34. </div>

Report this snippet  

You need to login to post a comment.