If I have a text paragraph, then an image alone on a line, the a paragraph of text, the spacing is not the same in the CHM and PDF.
If I want it to look good in the CHM I must insert a blank line between the first paragraph and the image, but not blank line between the image and the second paragraph. For example :
efoyhfao8dfuadshfuhafuaf
adsfadsfasdfasdfadsfasdffa
retwuret98wure89tuw98reu
wretwretwretwertwrtwretwr
Then, in the CHM it looks like :
efoyhfao8dfuadshfuhafuaf
adsfadsfasdfasdfadsfasdffa
retwuret98wure89tuw98reu
wretwretwretwertwrtwretwr
But if I do this then the image is too close to the second paragraph in the PDF. Am I missing something ?
Space after an image
Moderators: Alexander Halser, Tim Green
- Olivier Beltrami
- Posts: 393
- Joined: Mon Jul 15, 2002 3:30 pm
- Location: Nantes, France
- Contact:
Space after an image
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
I've noticed this too. My suspicion is that it has something to do with HTML, which is (and always has been) totally prehistoric as regards vertical spacing. Whoever is responsible for the implementation of HTML seems to think that huge vertical spaces between both paragraphs and all other elements on the page are always both necessary and desirable. Virtually all affected HTML tags, particularly <p>, default to ridiculously large vertical spacing values which you have to suppress with additional code.
It would naturally be much better to have the default be no vertical spacing at all, so that you can add spacing if and when you need it, just as you do in any normal word processor.
This has always been one of my pet peeves with HTML...
It would naturally be much better to have the default be no vertical spacing at all, so that you can add spacing if and when you need it, just as you do in any normal word processor.
This has always been one of my pet peeves with HTML...
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.