Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to show few lines of content & expand instantly on demand?

Status
Not open for further replies.

may1hem

Programmer
Jul 28, 2002
262
GB
I have a Web page which displays a large table. Each row of the table has lots of text in it, which means the user has to scroll through a lot of text to find what they're looking for.

I want to show just the first 10 words of each row, and when the user wants to read more then they just need to click on the text to expand it. How can this be done with HTML / CSS?

I've seen it on the Microsoft site and on other sites and I think it can be done without JavaScript. Is this right?

Thx for your help,

May
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top