This is a migrated thread and some comments may be shown as answers.

Hanging indents

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christian Devita
Top achievements
Rank 1
Christian Devita asked on 26 Jan 2017, 10:53 PM

I am trying to create a bibliography in my report using the Chicago style citation format. I am unable to create the proper indents. The style dictates that if a citation is more than one line the second and subsequent lines are indented further in than the first line of the citation. This makes it easy to read multiple citations on a page.

I can achieve this in html using negative margins with css. I know the htmltextbox supported html/css is limited and so far I have not been able to create this formatting. 

Is there any way to do this?

I've thought about adding spaces or tab characters in my data dynamically at runtime taking into account the page size and font size but I was hoping there would be an easier way.

 

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 27 Jan 2017, 12:56 PM
Hi Christian,

Line breaks are calculated automatically based on the item's Style properties (Font, Padding, alignment, etc), Size property and the custom settings of the HTML input.

Test formatting the HTML with the supported HTML tags and CSS attributes, which includes new lines in the content, instead of relying on the rendering mechanism.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Christian Devita
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or