Control of vertical alignment
(1 viewing) (1) Guest
 | | |
|
TOPIC: Control of vertical alignment
|
|
Control of vertical alignment 4 Months, 2 Weeks ago
|
Karma: 0
|
|
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
|
|
djb
Fresh Boarder
Posts: 16
|
|
Last Edit: 2010/04/20 15:12 By djb.
|
|
|
Re:Control of vertical alignment 4 Months, 2 Weeks ago
|
Karma: 1
|
|
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: 2010/04/21 00:38 By viljem.
|
|
|
Re:Control of vertical alignment 4 Months ago
|
Karma: 0
|
|
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['output_script'] .= "<tr valign=\"top;\" id=\"row"....
Regards
David
|
|
djb
Fresh Boarder
Posts: 16
|
|
|
|
|
 | | |
Tools JX, Powered by ; by SG