| Index
» Projekty
» phpMyEdit
» Fórum
» Column Attributes... Width and Align |
 |
Justin Baker
Založený: 10.04.2007
Príspevky: 13
Zaslal: 2007-04-17 16:37
Návrat hore
Odpovedať s citátom
|
I think i am getting to like this code once i get the little tidbits worked out..
During the display of the table I like to have a column width a specific size ad well as the alignment centered or to the right for the same column:
$opts['fdd']['bookcond']['colattrs']='width="85px"';
$opts['fdd']['bookcond']['colattrs']='align="center"';
seems that the second one, the "align" takes president over the first one, the "Width". Making it so they dont both work at the same time!.
Is there a way to set both "width" & "align" WITHOUT using CSS?!
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2007-04-18 09:51
Návrat hore
Odpovedať s citátom
|
$opts['fdd']['bookcond']['colattrs']='width="85px"';
$opts['fdd']['bookcond']['colattrs']='align="center"';
php will override the same variable.
maybe this will work:
$opts['fdd']['bookcond']['colattrs']='width="85px" align="center"';
|
Justin Baker
Založený: 10.04.2007
Príspevky: 13
Zaslal: 2007-04-18 11:53
Návrat hore
Odpovedať s citátom
|
Killer!! Thanx Man! That worked!! :) I kinda figured WHY my way wasnt working, I just couldnt figure out HOW to straighten it out! Thanx again!
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|