Commit 0e8b4ab3 authored by Vincent Pelletier's avatar Vincent Pelletier

Ooops, this is the second part of commit 10683.

Fix visual glitch which caused the right group being displayed below the left group, and then moved by js to the right place. Now the only visible thing is
 the touching borders being removed and the boxes height being balanced.
Remove conditional "clear" tag since it's possible to get the same behaviour in pure css.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10684 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fe1c2fbb
......@@ -564,6 +564,13 @@ div.index_html table {\n
\n
div.top_group,\n
fieldset.left,\n
fieldset.center,\n
fieldset.bottom {\n
clear: both;\n
}\n
\n
div.top_group,\n
fieldset.left,\n
fieldset.right,\n
fieldset.center,\n
fieldset.bottom {\n
......@@ -585,13 +592,13 @@ fieldset.center {\n
fieldset.left {\n
width: 50%;\n
float: left;\n
margin-right: -11px; /* 5px margin *2 + 1px for left border width */\n
margin-right: -12px; /* 5px margin *2 + 2px for left & right border width */\n
}\n
\n
fieldset.right {\n
width: 50%;\n
float: left;\n
margin-left: -11px; /* 5px margin *2 + 1px for right border width */\n
margin-left: -12px; /* 5px margin *2 + 2px for left & right border width */\n
}\n
\n
div.top_group fieldset.left,\n
......
......@@ -90,6 +90,9 @@ function fixLeftRightHeight(){\n
rfieldset.style.height = (lh>rh)? lh+"px" : rh+"px";\n
lfieldset.style.borderRightWidth = 0;\n
rfieldset.style.borderLeftWidth = 0;\n
/* XXX: hardcoded values required unless there is a way to compute "12px"-"1px" in js */\n
lfieldset.style.marginRight = "-11px";\n
rfieldset.style.marginLeft = "-11px";\n
}\n
}\n
......
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