hellodipak Posted June 23, 2010 Share Posted June 23, 2010 Hi all,I want to hide content inside a TD after certain height. The code I wrote is working well in all browser except IE7. Please help Here is the code - <td style="width: 250px; height:30px; float: left; display: block; overflow: auto; overflow: hidden;">Database Database Database Database Database Database Database Database Database Database Database Database Database Database Database </td>Thanks in advance! Link to comment Share on other sites More sharing options...
hellodipak Posted June 23, 2010 Author Share Posted June 23, 2010 This is helping me but it's not a prefect solution - style="width: 250px; height:30px; float: left; display: block; overflow: auto; overflow: hidden; white-space: pre; Link to comment Share on other sites More sharing options...
wirehopper Posted June 23, 2010 Share Posted June 23, 2010 Remove overflow:auto Link to comment Share on other sites More sharing options...
hellodipak Posted June 23, 2010 Author Share Posted June 23, 2010 Remove overflow:autoNahhh that's not working.. Thanks for your reply Link to comment Share on other sites More sharing options...
ShadowMage Posted June 23, 2010 Share Posted June 23, 2010 Can I ask why you're floating a <td> element? That kind of defeats the purpose of a table. Link to comment Share on other sites More sharing options...
hellodipak Posted June 23, 2010 Author Share Posted June 23, 2010 Can I ask why you're floating a <td> element? That kind of defeats the purpose of a table.I added float because IE8 supports it and works fine as webkit, I have a issue in IE7, "white-space: pre; " is helping me in IE7 but I don't think it's a right solution.Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.