html - CSS issue in adjusting text in div -
here in image title "accounts , holding disclosure in crossing white line while drf way above white line...
how can set text above line using css.
html code
<div class="tabs"> <img src="images/disclosure.png" /> accounts , holdings disclosure</div> <div class="tabs"> <img src="images/drf.png" /> drf</div>
css
.tabs { height: 85px; border-bottom: 1px solid #fff; text-align: center; color: #fff; padding-bottom:7px; } .tabs img { display: block; margin-left: auto; margin-right: auto; height: 70px; margin-top: 5px; }
you should write:
.tabs { height: auto; }
html css
No comments:
Post a Comment