Hi everyone, so here's what's bugging me.
Basically it's two paragraphs in a div, that should appear in one line. They do appear in one line, but when one of the p tags has text that would go out the {.box} div, I want nowrap to stop it from wrapping. It works in html, but the generated PDF doesn't - the second p tag is pushed bellow the first p tag. Any ideas why this happens?
Here's the code i use
.box{
width: 165px;
overflow-hidden;
}
div{
white-space:nowrap;
}
.one,.two{
color: #729DD3;
display: inline;
font-size: 12px;
color: #000000;
line-height: 12px;
width: auto;
text-align: left;
}
<div class="box">
<div>
<p class="one">text one</p><p class="two">text two</p>
</div>
</div>