Not sure if this is the right place to ask this one...
I've just installed FlaggedRevs in the OOoWiki. It's working OK so far... but one little thing has come up and I'd like to fix it.
Take a look at a random page like this one: http://wiki.services.openoffice.org/wiki/Documentation/Administration_Guide
The "Current revision" div from the FlaggedRevs extension is floated to the right. The OOoWiki also used floated divs for table of contents... on the right. The result is that they stack up against one another.
Does anyone know how I can get them to stack on top of one another instead of side by side as they are now? I've tried adding clear:both; to the div for the table of contents box (the one that's floated right) but that seems to have no effect.
C.
I don't know if this would be the best method but try adding this to your CSS
/* This will position the "current revision" div absolutely, right aligned */ #mw-revisiontag { position: absolute; right: 2em; } /* This will adjust the top margin of the TOC the approximate height of the "current revision" so they don't overlap*/ #tocwrapper { margin-top: 1em; }
Walter Mazza
On Mon, Nov 23, 2009 at 9:22 AM, ccornell - OpenOffice.org < ccornell@openoffice.org> wrote:
Not sure if this is the right place to ask this one...
I've just installed FlaggedRevs in the OOoWiki. It's working OK so far... but one little thing has come up and I'd like to fix it.
Take a look at a random page like this one: http://wiki.services.openoffice.org/wiki/Documentation/Administration_Guide
The "Current revision" div from the FlaggedRevs extension is floated to the right. The OOoWiki also used floated divs for table of contents... on the right. The result is that they stack up against one another.
Does anyone know how I can get them to stack on top of one another instead of side by side as they are now? I've tried adding clear:both; to the div for the table of contents box (the one that's floated right) but that seems to have no effect.
C.
Clayton Cornell ccornell@openoffice.org OpenOffice.org Documentation Project co-lead StarOffice - Sun Microsystems, Inc. - Hamburg, Germany
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 11/23/2009 06:02 PM, Walter Mazza wrote:
I don't know if this would be the best method but try adding this to your CSS
/* This will position the "current revision" div absolutely, right aligned */ #mw-revisiontag { position: absolute; right: 2em; } /* This will adjust the top margin of the TOC the approximate height of the "current revision" so they don't overlap*/ #tocwrapper { margin-top: 1em; }
Thanks.. that kind of worked :-) I need to do some fine tuning on it, but the result is in the right direction.
Thanks for the tip... much appreciated.
C.
mediawiki-l@lists.wikimedia.org