html - Arranging text and image in the same line -
this question has been answered many times, none of solutions work problem. have text , image aligned linearly (in single line)
i have http://grab.by/vlz2 , http://grab.by/vlz8
could please help?
you need make sure image height same font-size.
.title{ position:absolute; height: 15%; width:100%; } #wrapper{ position:absolute; width:80%; height:50%; border: solid 1px black; } #title4{ font-size:20px; } <!-- html part --> <div class="title" id="title4"> title <img src="https://www.google.com/images/srpr/logo11w.png" style="height:20px;vertical-align:top;"/> </div>
check jsfiddle
Comments
Post a Comment