css - Making two elements starting in the same html row -


i've got small icon appearing , sentence afterwards, in next line. code so: (apart more things)

<td class="workview-cell">   {{#if isavailable}}     {{#if isloaded}}     a<img id="privileged-access-step-icon" src="{{urlroot}}/images/crown16sb2.png"          alt="test" title="test" />     {{else}}     b<img id="privileged-access-step-icon" src="{{urlroot}}/images/crown16sb2.png"          lt="test" title="test" />     {{/if}}   {{/if}}   {{#if showlink}}     <a href="#" class="workview-link {{linkproperties.linkclass}} theme-link-color {{#if showlinkwideonly}}wideonly{{/if}}"                     title="{{linkproperties.title}}">{{description}}</a>     c{{#if showlinkwideonly}}<span class="narrowonly">{{description}}</span>{{/if}}   {{else}}     {{description}}   {{/if}} </td> 

the css associated is:

.workview-cell{padding:3px;vertical-align:middle;} 

the rendered html is:

<td class="workview-cell">   a<img id="privileged-access-step-icon" src="/images/crown16sb2.png" alt="test" title="test">                       <a href="#" class="workview-link viewstep-link theme-link-color " title="open summary">group step (initial)</a>             b     </td> 

the string break naturally across rows, i'd have icon , sentence afterwards long can, finishing in following line if sentence large. in other words, rather sentence started on same line icon.

any hint? in advance.

update:

this how looks right now:

text not starting in same row icon is

what i'd achieve have text starting icon finish, in same line, , continue if needed in following line.

give css:

.workview-cell {white-space: nowrap;} 

this forces line stay same.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -