https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× This is the optional Forum header for the Suggestion Box.

Controlling Table Width

  • enktesisllc
  • enktesisllc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #1429

I've created two tables with the same settings:

www.nationalmarriageweekusa.org/find-events-in-your-area

www.nationalmarriageweekusa.org/find-eve...find-previous-events

The second one spreads out accross the template instead being contained in the body area.

I changed the underlying view to make the weblinks short (Click Here For Site), but the one page spreads out the other doesn't.

All the columns widths are set.

Any ideas?

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #1433

Hi!

You have this long url in one of your eventinfo fields:

http://www.marriageeducationandresourcecenterky.com/UpcomingMarriageEventsandHelpforMarriage.dsp

This forces the last column to be wide enough to show it.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #1447

When I generate a table column from a textarea field I get a single line of characters which expands the cell size horizontally beyond the edge of the page. How can I control the column width?

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #1452

Hi,

You can try playing with css. You have defined css classes on each cell, so you can create a css definition in your template css file or in /components/com_grid/css/grid.css

To find out which class is defined on the element you can use a tool like Firebug in Firefox, or in Chromium just right click and "Inspect Element"

In your case the css class for the cells that make problems is tableJX2eventinfo

So I think if you define something like

.tableJX2eventinfo{display:block;}
it should work already.

Please Log in or Create an account to join the conversation.

  • ian156
  • ian156's Avatar
  • Visitor
  • Visitor
12 years 10 months ago #1453

Thanks. I will try this

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.134 seconds

Contact Us

Contact us on Discord

Contact us on Facebook