ChrisF
Založený: 18.12.2015
Príspevky: 2
Zaslal: 2015-12-18 12:46
Návrat hore
Odpovedať s citátom
|
Hi,
I am a noobie to phpMyEdit, but finding it extremely useful.
I have a very basic question which I have searched the forum for and not found an answer.
I simply want to know how to define the widths of columns in pixels, but the documented collattr width property (which would have been perfect) just doesnt work for me (or others it seems).
I have tried this in many different ways, with "px" and without, and various different types of quotes.
I have tried many variations of setting a postfix for individual data item, and using css table-layout:fixed; and display: block etc but to no avail.
Can anyone suggest where I may be going wrong as this seems like such a basic thing, and I have spent nearly a week of evenings on this one simple thing.
Maybe I am just overlooking something really simple.
Thanks
Chris
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2015-12-21 17:40
Návrat hore
Odpovedať s citátom
|
http://hockinson.us/php_form_generator/colattrs.php?PME_sys_fl=1&PME_sys_fm=0&PME_sys_qfn=
$opts['fdd']['varchar_column'] = array(
'default' => '',
'colattrs' => 'style="background-color:#ffff00;"',
'help|ACP' => 'Limit 255 characters',
'input' => '',
'maxlen|ACP' => 255,
'name' => 'Varchar Column',
'options' => 'ACPVDFL',
'select' => 'T',
'size' => 72,
'sqlw' => 'IF($val_qas = "", NULL, $val_qas)',
'sort' => true
);
$opts['fdd']['email_varchar_column'] = array(
'colattrs' => 'style="width:500px;background-color:#00ffff;"',
'default' => '',
'help|ACP' => 'Limit 255 characters',
'input' => '',
'maxlen|ACP' => 255,
'name' => 'Email Varchar Column',
'options' => 'ACPVDFL',
'select' => 'T',
'size' => 72,
'sqlw' => 'TRIM("$val_as")',
'URL' => 'mailto:$value',
'sort' => true
);
|
ChrisF
Založený: 18.12.2015
Príspevky: 2
Zaslal: 2016-01-01 22:14
Návrat hore
Odpovedať s citátom
|
doug Napísal: |
http://hockinson.us/php_form_generator/colattrs.php?PME_sys_fl=1&PME_sys_fm=0&PME_sys_qfn=
$opts['fdd']['varchar_column'] = array(
'default' => '',
'colattrs' => 'style="background-color:#ffff00;"',
'help|ACP' => 'Limit 255 characters',
'input' => '',
'maxlen|ACP' => 255,
'name' => 'Varchar Column',
'options' => 'ACPVDFL',
'select' => 'T',
'size' => 72,
'sqlw' => 'IF($val_qas = "", NULL, $val_qas)',
'sort' => true
);
$opts['fdd']['email_varchar_column'] = array(
'colattrs' => 'style="width:500px;background-color:#00ffff;"',
'default' => '',
'help|ACP' => 'Limit 255 characters',
'input' => '',
'maxlen|ACP' => 255,
'name' => 'Email Varchar Column',
'options' => 'ACPVDFL',
'select' => 'T',
'size' => 72,
'sqlw' => 'TRIM("$val_as")',
'URL' => 'mailto:$value',
'sort' => true
); |
Thanks for your reply doug,
but a couple of things;
Your link is not working, it was working when I first looked, but not any more.
I did see that it appeared to be what I was looking for , but I have copied your examples into my definition and it makes no difference to my column widths. My problem appears then not to be in the definition, it must be somewhere else, maybe in the surrounding html or in the CSS
I have in any case tries all of the items in your example definitions
Can you post me the source for your example (html, php, css) so that I may see where I am going wrong. Nothing I do will alter the width of my columns. If I could start from an example that does enable column width changes through these definitions, then I can probably find out why mine is not working.
Thanks
Chris
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2016-01-01 22:27
Návrat hore
Odpovedať s citátom
|
yes, that link is dead.
'colattrs' => 'style="width:500px;background-color:#00ffff;"',
the above works for me in 3 different browsers, this is all you need, so if it fails then post your entire script and css and everything ... though I don't know that anyone is going to bother to study it in detail since the usage of colattrs is very simple.
have you spelled colattrs correctly?
when you View Source in that page, does the style appear in the source code?
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2016-01-01 23:46
Návrat hore
Odpovedať s citátom
|
If you did not grab the latest class files from the CVS then replace what you have with two files found at
http://opensource.platon.org/cvs/cvs.php/phpMyEdit/
I doubt it but "maybe" the newer class files fixed something relating to colattrs
|
DAvidjohn456
Založený: 11.07.2022
Príspevky: 33
Zaslal: 2022-11-23 10:48
Návrat hore
Odpovedať s citátom
|
By setting the width of your columns to a certain size, you can create a more organized and cohesive design. This will help to reduce the amount of space required to display your content, and it will also make your website look more professional. If you're not sure
la times crossword
how to set the width of your columns, check out our tutorial on how to set the pixel width of your pages.
|
lilycollins
Založený: 22.11.2022
Príspevky: 3
Zaslal: 2022-12-31 04:13
Návrat hore
Odpovedať s citátom
|
Setting the pixel width of a column can help improve the look and feel of your website. By setting a smaller width for the columns, you can reduce the number
bitlife
of lines of text that are displayed on your page.
|
jognahartu
Založený: 06.12.2021
Príspevky: 2264
Zaslal: 2023-01-07 12:03
Návrat hore
Odpovedať s citátom
|
You have done a great job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you.
best llc formation services
|
jognahartu
Založený: 06.12.2021
Príspevky: 2264
Zaslal: 2023-01-07 13:00
Návrat hore
Odpovedať s citátom
|
It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read even more things about it!
小額貸款
|
jognahartu
Založený: 06.12.2021
Príspevky: 2264
Zaslal: 2023-01-07 14:21
Návrat hore
Odpovedať s citátom
|
I read your blog frequently and I just thought I’d say keep up the amazing work!
Custom Leather Jackets NYC
|
jognahartu
Založený: 06.12.2021
Príspevky: 2264
Zaslal: 2023-01-09 10:37
Návrat hore
Odpovedať s citátom
|
Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done.
แทงบอลออนไลน์
|
puce
Založený: 04.11.2021
Príspevky: 268
Zaslal: 2023-01-16 10:54
Návrat hore
Odpovedať s citátom
|
Thanks for another wonderful post. Where else could anybody get that type of info in such an ideal way of writing?
spbo terlengkap
|
puce
Založený: 04.11.2021
Príspevky: 268
Zaslal: 2023-01-16 11:03
Návrat hore
Odpovedať s citátom
|
I read your blog frequently and I just thought I’d say keep up the amazing work!
asianbookie
|
jognahartu
Založený: 06.12.2021
Príspevky: 2264
Zaslal: 2023-01-25 21:45
Návrat hore
Odpovedať s citátom
|
Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done.
ikaria juice
|
jognahartu
Založený: 06.12.2021
Príspevky: 2264
Zaslal: 2023-02-01 08:21
Návrat hore
Odpovedať s citátom
|
Some truly wonderful work on behalf of the owner of this internet site , perfectly great articles .
egr and dpf delete kits
|
Odoslať novú tému
Odpovedať na tému
Choď na stránku 1, 2, 3 ... 20, 21, 22 Ďalší
|