Add some css to class=templatetext to avoid text outside container

I would like to know what css to add in order to prevent text :“To attend to customer’s feedback, enquiries or other needs immediately” more than its container. Add something to css class=templatetext or others css class.

User post on new job by copying from other job description to editor, sometime existing format will make the text over container.

http://jsfiddle.net/CB5Lr/4/

HI,

Assuming that the font tag is placed there by your editor and you can do nothing about it then the following code should do what you want.


.templatetext li font{
	overflow:hidden;
	text-overflow:ellipsis;
	width:100%;
	display:block;	
}

Unless you meant you wanted the text to wrap then instead you could use.


.templatetext li font{
	display:block;	
	word-wrap:break-word;
}


Thanks for helping me. It solve the problem. :slight_smile: