All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

By using font sizes in px you're making things very small for somebody who's got a very high res monitor.

The most portable thing to do is to put font sizes in percentages: assume that 100% is the size that is appropriate for 'normal' text on a webpage, and work relative to that — so you probably want at least 150% for text on slides.

Those slides also degrade badly in smaller windows. If the window is sufficiently small that the bullets don't all fit in then the lower ones continue under the footer!

One approach is add in rules along the lines of:

.slide { position: absolute; top: 10%; height: 70%; overflow: auto;}

That means that if the content doesn't fit then a scrollbar appears, but which just scrolls that inner region and doesn't hide behind the footer.

Also note I've used percentages for the heights there; these are percentages of the available height of he entire webpage, and you should probably use these percentages rather than absolute pixel values, to avoid making assumptions about the number of pixels readers have.

For things like padding and margin values the relative units like em can be useful: if you set padding of, say, 0.5em then a reader with larger fonts than you will have the padding scale up in proportion.