html - Paragraph tag being displayed in new line -
i need value "1" displayed adjacent "id" field displaying in new line.the
tag supposed inline not sure why being moved new line.
html
<b>id : <p id="productid">1</p></b>
#productid{ display:inline-block; } p block level element default. can set display inline-block make describe using basic css.
i'm not sure if unable access css, in case cannot, see oriol's answer. no reason not make span.
bit of side note, little odd put p tag inside b tag. technically can this, looks using span tag more proper way handle this.
Comments
Post a Comment