mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00541
[Bug 547421] Re: Blocks with just floated content in them break view layout
** Changed in: mahara
Status: Confirmed => Triaged
--
Blocks with just floated content in them break view layout
https://bugs.launchpad.net/bugs/547421
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Status in Mahara ePortfolio: Triaged
Bug description:
If you have a block that has something in it that is floated - e.g. <table align="left">...</table> in the example I tried - then that makes the height of the block be 0. This means, among other things, that on the view edit screen, the controls for the block below appear way above where they should be (as they're positioned). See the attached screenshot for what I mean. Apparently on IE7 the behaviour may be even worse..
Potentially we could fix this with some kind of hack to add a clearer div - or some other kind of solution that will clear the bottom of the block below the float. The problem I have with that is that in a multicolumn layout, the clearing div will clear below anything in any of the other columns too, which will look wrong.
I hate to say it, but maybe we'll need to look at using <table>s for the view layout - or some other positioning mechanism - to make it work properly...
This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=3364&group_id=176&atid=739