Hiding and Truncating Overflow
Referrer Script Examples
The referrer script is a good example of when you might need to truncate or hide overflow. It's that one line of code that you simply inserted in your Blog or Web site. But, some scripts need to be tamed.
<script language="Javascript" src="http://www.downes.ca/referrers.js"></script>
Put the one line of code in your page and you immediately see something like this.
Actually, it looks slightly different. That's the CSS tamed version.
Some Blogs and Web sites have long URLs that can span five lines. The long URLs can cause the list to take up more space than you planned for and spread too wide. We can tame the results of the script with CSS.
Hiding and Truncating Overflow
Link
Updated: Sunday, June 13, 2004
Comments:
Post a Comment
