Commit c01a48e2 authored by Vincent Pelletier's avatar Vincent Pelletier

Generate real table cells by javascript, each containing just one fieldset....

Generate real table cells by javascript, each containing just one fieldset. This fixes a rendering problem in konqueror: right fieldset "100%" was left fieldset's width, instead of container's (tr). Also, right was always wrapped below left.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21345 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c34cf15
......@@ -599,11 +599,6 @@ table.fake {\n
width: 100%;\n
}\n
\n
table.fake > tr > fieldset {\n
display: table-cell;\n
float: none;\n
}\n
\n
.content .field {\n
position: relative;\n
clear: left;\n
......@@ -674,7 +669,8 @@ table.fake fieldset {\n
border-width: 0;\n
padding: 0;\n
margin: 0;\n
width: 50%;\n
width: 100%;\n
float: none;\n
}\n
\n
fieldset.center,\n
......
......@@ -145,8 +145,11 @@ function buildTables(element_list, rowPredicate, columnPredicate,\n
for (i = 0; i < row_list.length; i++) {\n
var fake_row = document.createElement("tr");\n
var row_element_list = row_list[i];\n
for (j = 0; j < row_element_list.length; j++)\n
fake_row.appendChild(row_element_list[j]);\n
for (j = 0; j < row_element_list.length; j++) {\n
var fake_cell = document.createElement("td");\n
fake_cell.appendChild(row_element_list[j]);\n
fake_row.appendChild(fake_cell);\n
}\n
fake_table.appendChild(fake_row);\n
}\n
}\n
......
546
\ No newline at end of file
548
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment