Blogger Templates Directory

Free directory of blog layouts and templates for Blogger

Google
Web Blogger Templates

Browse Templates Pages

1 / 2 / 3 / 4 / 5

Show Posts In A Fixed-Size Window With Scrollbar
This is a useful trick and quite common in templates ('skins') that are static graphics on the screen - when you read the posts, the page does not scroll up, instead the text scrolls within a display window. That way, the designer's artwork remains in place on the screen no matter how long or how many the post entries.

The effect is used in templates such as Animal Lover, and Cherish You.

The code is extremely simple - nothing more than placing the content inside a DIV and set OVERFLOW:AUTO; .

Use POSITION, WIDTH and HEIGHT to get the exact location and size for the display area.

It works inside posts as well, like this:


On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains


The following code produced the above:

technorati tags: , , , , ,

0 Comments:

Post a Comment













New Templates by RSS RSS feed


New Templates by email


Categories



Get Your Blog Listed:



Add to Favorites













Copyright(c)2006 Quicklode(Simon Richards) :: Licensing & Copyright :: :: Site Map :: Privacy Policy