[kde-doc-english] Khelpcenter stylesheet issues - again

Burkhard Lück lueck at hube-lueck.de
Tue Jan 10 22:45:53 UTC 2012


Hi,

a few month ago we had a discussion on this list about Khelpcenter stylesheet 
issues, see 
http://lists.kde.org/?l=kde-doc-english&m=131419999120078&w=2

I'd like to get back to issue 3) from that discussion: 
"distance between the last line of text and the top of the footer is too big"

In one of the mails in this thread Michael Pyne wrote:

> IIRC the amount of padding was in order to ensure that the footer appears
> at the bottom of very short pages. It should be compensated for by a
> corresponding negative padding-bottom (or some other CSS hack) elsewhere.

At first glance this seems to be a great idea to have the footer always at the 
bottom of the page, but from my pov this idea fails, because it is impossible 
to define what a *very short page* due to:

* you can use KHelpcenter in Full Screen Mode or in a user defined window size, 
each with different sizes for a *very short page*

* you can change the font size in KHelcenter, so a *very short page* can only 
be defined for the default font size in KHelpcenter

* on monitors with different format 16:9 and 4:3 you have different sizes of a 
*very short page* even in Full Screen Mode

My conclusion: 

It is impossible to define a *very short page* because that is controlled by 
the user, therefore the padding-bottom under contentBody in kde-doc.css should 
be changed from actually 8.9 to 1em.

I'd like to read your comments please.

Thanks

-- 
Burkhard Lück


More information about the kde-doc-english mailing list