We have a fixed size div in which we are displaying some news items. We display 6 news items, and then a link that follows, which links them to archives. When the news article titles are all one line in length, everything fits. When multiple news items have titles that are two lines in height, the group of items takes up more space that we have.
Using jQuery, CSS, and HTML, how can we cut off or not display news items which cause the group to not fit in the div? Scroll bars is not an option. The height and width of the div is constant and known.
The structure of the news items is simply a list of list items.