Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^4: Distribution of Levels and Writeups (sig)by Aristotle (Chancellor) |
on Jan 28, 2005 at 03:07 UTC ( [id://425843]=note: print w/replies, xml ) | Need Help?? |
I'm not sure if this works, but it should:
Update: turns out it needs more tricks. The :before block is considered to be a child of the element it is attached to, so display:block, visibility:hidden or anything else applied to that element will also affect the :before block. So it requires a little cheating:
Here the box is set to a fixed 1.5em height, all of which are then occupied by the :before block. The rest of the content would normally spill onto the elements following on the page, but is prevented from that by way of overflow:hidden — voilà. Makeshifts last the longest.
In Section
Perl Monks Discussion
|
|