https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Control of vertical alignment

  • djb
  • djb's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 7 months ago #422

Hi,

The default vertical alignment in 'centre' for all rows. I cannot see a way to control the alignment. Ideally I would like my rows to have a 'top' alignment.

Can you tell me if this is possible please?

Thank you
David

Last edit: 14 years 7 months ago by djb.

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

More
14 years 7 months ago #424

Hi,

alignment cannot be set in admin area (for now). If you have some html skills you can do it in the code in 2 ways. If you define new css class selector (/components/com_grid/css/grid.css) and apply it in html tag (/components/com_grid/layouts/GridView.php) like this for the grid_title: <span class=\"grid_title \">".$this->_config->tableCaption."</span>";

Or directly with html valign in (/components/com_grid/layouts/GridView.php) for rows around line 235.

Best regards,
Viljem

Last edit: 14 years 7 months ago by user62.

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

  • djb
  • djb's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 6 months ago #487

Viljem,

Thank you for this information. I made the change and it worked fine.

Here's the change in case anyone else needs it:

$field .= "<tr valign=\"top;\" id=\"row"....

Regards
David

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

Moderators: tomaz
Time to create page: 0.175 seconds

Contact Us

Contact us on Discord

Contact us on Facebook