CSS bug found - with correction

jfquestiaux

Well-Known Member
Hello,

I found (and corrected) a CSS error in one file (it gave me a warning in the Web developper toolbar and in Firebug as well).

It is in the components>com_fabrik>fabrik.php.html file, around the line 1096 :

Find :

//avoid extraneous td's if checkboxes less than one row long
if ($options_per_row > count( $arVals )) {
$options_per_row = count( $arVals );
}
$option_width = round(100 / $options_per_row);
$opr = 0;
$str .= " <div style=\"display:table; align=left; width:100%; border-spacing:5px\">\n";

and replace "align=left" by "text-align:left"

I suspect that was why I had to refresh some pages (with several checkboxes on 1 row) twice to get the proper layout.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top