I am looking to showcase two span elements, one below the other. Take a look at my HTML code snippet
<img class="profile-photo margin-0"
data-ng-if="!question.isOpen"
ng-src="{{question.profilePicId ? question.profilePicId : defaultUserAvatar}}"/>
<span ng-if="!question.isOpen" class="margin-left-10 title"
ng-bind="question.title | translate"></span>
<span ng-if="!question.isOpen"
ng-bind="getFirst100CharactersOfQuestion(question)"></span>
Despite trying to utilize <div>
tag with properties like display: inline
, float: left
, and clear: left
, it didn't yield the desired outcome.