| Index
» Projekty
» phpMyEdit
» Fórum
» CSS used for View Edit Delete Copy....... |
 |
| Would you like to have a List of CSS PME codes and their efffects on phpmyedit Scripts |
| OH yes please. |
|
100% |
[ 2 ] |
| Nice Idea, |
|
0% |
[ 0 ] |
| Not needed |
|
0% |
[ 0 ] |
| What's PME ??, |
|
0% |
[ 0 ] |
|
| Celkom hlasov : 2 |
Topshed9
Založený: 14.01.2008
Príspevky: 34
Zaslal: 2010-12-14 05:58
Návrat hore
Odpovedať s citátom
|
I do wish someone would write the definitive piece on what pme style affects what part of phpmyedit
My Question ??
The left hand or first column where the link text or buttons go
WHERE in the pme CSS do I set the text color?
I have a white background and an off white text which is Not very readable
Hopefully
Topshed
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2011-01-01 14:29
Návrat hore
Odpovedať s citátom
|
Identifying the styles is easy if you View Source on the generated page in the browser. In Firefox, click the View menu, then click the Page Source. Locate the offending style class and create valid CSS to manipulate it.
The Web Developer Toolbar is a Firefox Add-on which displays classes when the mouse is positioned over each HTML tag.
If you create a 'css' style to affect the "company" column, as in
| Kód: |
$opts['fdd']['company'] = array(
'css' => array('postfix' => 'company'),
'default' => '',
'input' => '',
'maxlen' => 30,
'name' => 'Company',
'options' => 'ACPVDFL',
'required' => false,
'select' => 'T',
'size|ACP' => 30,
'sqlw' => 'TRIM("$val_as")',
'sort' => true
); |
then you can create CSS to affect that column.
| Kód: |
th.pme-header-company{
background-color:orange;
border:1px solid black;
color:white;
font:bold 14px "courier new", verdana,helvetica,arial,sans-serif;
text-align:left;
vertical-align:middle;
width: 350px;
} |
CSS is not perfect and different browser's behave differently, thus there are some things which are beyond control ... especially width in cases where too many fields are displayed in List mode and most browser's do their best to squish things so that content doesn't run off the page to the right.
However, one must know how to properly use CSS in the first place.
http://www.w3.org/TR/CSS21/propidx.html
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|