View Single Post
Old 05-26-2016, 08:38 AM   #22
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,102
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by Doonge View Post
- What's the problem with line-height? It should allow you to do raised capitals without line spacing problem (character spacing however between your capital and the following letter remains a problem).
Default line spacing is often a percentage of the character size (e.g. 120%). Using a large character on a line (e.g. raised capital) increases the line spacing, making the first line of the first paragraph become separated from the other lines. This is bad.

Quote:
Originally Posted by Doonge View Post
- - What's the problem with applying a "max-height: 90%;" (for instance) value to your image inside a container, following a caption? I guess it might be annoying if the caption is multiline?
Applying a max-height 90% will fix it sometimes. But it isn't reliable.

[QUOTE=Doonge;3324748]- - Can't you just use 'text-align: right;' and some right-padding/margin for your poetry?QUOTE]

No, you can't.
Lines in poetry are usually left-aligned, sometimes with additional fixed space at the start of some lines. If the display width and font size cause a line to wrap, ONLY the wrapped portion should be right aligned, to indicate that it's a wrap and not a new line.

Code:
I wandered lonely as a
                    cloud
That floats on high o'er
          vales and hills
pdurrant is offline   Reply With Quote