CSS classes policy in phpMyEdit is one from the most complicated and complex features. The goal is to reach almost any possible classification of HTML elements with the possibility to simplify classification to lower number of classes.
The phpMyEdit CSS class schema is displayed here:
Particular parts are described here:
prefix part is straighforward. Every phpMyEdit CSS class has a user configurable prefix. It can be empty.
element represents the name or type of element. The examples are
input and others.
In order to distinguish between different types of pages there is a
page_type. The possible values for this part are
delete. This part is empty for table listing and table filtering pages.
There are also some elements, which occur on the top and on the bottom of page as well. For this matter there is
position part present with possible values
divider aim is to provide difference between even and odd table listing rows. This part, if present, is always numeric with values starting from
At the end of CSS class name is
postfix. This part is related to a particular field. Every field can have its own postfix. See field's
CSS customization for more information.
The default separator between parts is dash (
-) and can be changed if desired.
CSS class names configuration is handled via
$opts['css'] associative array. Here are possible configuration options related to this issue.
|| prefix of every phpMyEdit CSS class (
||if page type should occur in class name (disabled by default)|
||if position on the page should occur in class name (disabled by default)|
|| how many list table rows should have their own number before starting counting again from
|| separator between CSS class name parts (dash
For concrete names of CSS classes look into HTML source code of your generated page. In the following box are examples of how CSS class names may appear. However your CSS class names can differ according to your fields and configuration respectively.
Bootstrap phpMyEdit PHP Form Generator