Just wondering how to make The table float so words around it can wrap just like in wiki ?

Comments

deviantintegral’s picture

Priority: Normal » Minor
Status: Active » Closed (fixed)

Override the CSS in your style.css. See the included CSS for an example. Float it to the right, and play with the width / max-width and size as needed.

--Andrew

dleong’s picture

Version: 6.x-2.1 » 6.x-3.1
Category: support » task
Status: Closed (fixed) » Active

Hello,

I'd like to accomplish the same thing - have a floating TOC on either the left or right side of the page.
Could someone please provide an example of the changes to the style.css required to do this? (it doesn't appear that it was included in the previous post even thought it made mention of it).

Much appreciated, thanks.

Dennis

AlexisWilke’s picture

Assigned: Unassigned » deviantintegral
Status: Active » Fixed

Something like this:

.toc {
  float: right; /* or float: left; */
  width: 350px;
  max-width: 500px;
};

You will have to play with the width and max-width parameters. See the CSS doc here if necessary: http://www.w3.org/TR/CSS21/

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.