Pls how do i stop my table or cells from expanding.
regards
how to stop a cell or table from expanding
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: how to stop a cell or table from expanding
Perhaps you could clarify your question more.
Re: how to stop a cell or table from expanding
what i mean is that i have a table with some number of cells. whenever the content is echoed some cell will expand beyond their normal sizes. how do i stop the cells from expanding?
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: how to stop a cell or table from expanding
How do you want to stop it? Do you want the text to wrap? Do you want to cut off the excess?
Re: how to stop a cell or table from expanding
i will like to wrap in some cases and i will like to cut off text in other cases
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: how to stop a cell or table from expanding
You can use CSS to set that. The overflow property is what you need.
http://www.css3.com/css-overflow/
http://www.css3.com/css-overflow/