Page 1 of 1

fixing the size of table

Posted: Mon Feb 15, 2010 12:07 pm
by akshaylamba
i retrieve data from a table in mysql using PHP in a Table but as the data grew in lenght the table cell also grew....I want that
the cell should be fixed.....


Like i want to show NEW & Announcement section on the website from the database so as the no. of news increases the cell size increases I want that the cell should be fixed & by using the marquee the new can come one by one......

PLEASE HELP>...

Re: fixing the size of table

Posted: Mon Feb 15, 2010 3:26 pm
by josh
You could use the substr function to truncate the string, or use CSS to set an overflow value on the cell. Javascript would be a way to make it so it previews the full text upon mousing over the cell.