papillonstudios Posted October 9, 2010 Share Posted October 9, 2010 In this topic i was asking how to limit characters in wordpress posts. but that didnt get any where So now im wondering if i could use css to limit what is displayed. So have a fixed height and if the text goes past it it cuts it off. Is this possible to do and if so how? Quote Link to comment https://forums.phpfreaks.com/topic/215511-limiting-space/ Share on other sites More sharing options...
haku Posted October 10, 2010 Share Posted October 10, 2010 You can set a fixed height, and set overflow:hidden on an element, and it will only display up to the set height. But, it may not work exactly how you are thinking. Quote Link to comment https://forums.phpfreaks.com/topic/215511-limiting-space/#findComment-1120704 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.