Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Column Attributes... Width and Align

phpMyEdit Configuration     Column Attributes... Width and Align
Odoslať novú tému   Odpovedať na tému    
 
Justin Baker     Založený: 10.04.2007   Príspevky: 13  
Príspevok 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
Príspevok 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  
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov