I have a div within which I put paragraphs of text, images, links etc., I am unable to use the line height property. I retrieve this content from my database using PHP.
A typical scenario would be,
<div class = "story">
Now there are many complaints. We will study the matter... Whether there is a need for a separate policy or some kind of clarification is needed, we will make it clear soon
Now there are many complaints. We will study the matter... Whether there is a need for a separate policy or some kind of clarification is needed, we will make it clear soon
</div>
.story{
line-height: 200px;
}
I type in the content into a and it is stored in a db. Now I observe that where ever I physically ended my line by pressing enter I get a gap of 200 px. Not between the lines. Based on the screen resolution and other things a line could end anywhere right?
however it is working something like this,
Edit 1: Yes I have tried word-wrap: break-word it doesn't work.
not . – albusshin Oct 08 '14 at 13:31
` tag. Your title refers to breaking a sentence, yet your question itself makes little sense. – j08691 Oct 08 '14 at 13:32