Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Width of ComplexTableFields


Go to End


2 Posts   1389 Views

Avatar
adesweb

Community Member, 39 Posts

12 September 2008 at 3:38am

Hi,

I'm noticing if you have a lot of columns, or a lot of text within each column, the width can get stretched off the right-hand side of the screen.

Has anyone a quick CSS fix for this?

Ideally I guess, you don't want to have a max. character limit in each field and put elipses after that limit, to reduce the chance of this happening.

Adrian

Avatar
grilldan

Community Member, 135 Posts

12 September 2008 at 4:26am

Find the ID or Class name of the conatining element (usualy a div), then apply a "max-width: xx;"

Example:

#navigation {
max-width: 200px;
}