Menu

#80 Use Title-Attribute in Lastposts Block

open
nobody
5
2005-06-10
2005-06-10
rck
No

Right now, the titles in the last posts block gets cut
after a couple of characters. While this can make sense
layout wise, it will render some titles unreadable. How
about using the approach other forums are using?

Adding a title-attribute enables clients to hover over
the title getting the full title in return. Written as
pseudo-code:

if(title too long) {
shorten_title

output(<a href="..." title="long title">short title</a>)
}

further reading:

http://www.w3.org/TR/REC-html40/struct/global.html#h-7.4.3

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.