I need to display string “field1 field2 field3 ” in one line and field1, field2 and field3 will be a N number of characters.
How can i display the strings?
<style>
#div1{
width:1000px;
border:1px solid;
}
.field1{
display:inline;
width:auto;
}
.field2{
display:inline;
width:auto;
}
.field3{
width:auto;
}
</style>
<div id="div1">
<div class="field1">Field1(with N number of characters)</div>
<div class="field2">Field2(with N number of characters)</div>
<div class="field3">Field3(with N number of characters)</div>
</div>
I think this is want you want