On 06.04.2012 11:54, Anika Henke wrote: > I wouldn't say that's correct, because then you cannot float two images > next to each other. > I usually like to add a "clear: both;" to the headings and the <hr>s as > that makes most sense to me, but that can cause problems with the TOC as > well. That's why, in the DokuWiki default template, all headings only > have a "clear: left;". > >> Maybe div.toc should have "clear: left", not "clear: both"? > > div.toc usually doesn't need any "clear" at all. (But that's not causing > your problem anyway.) Anika, thanks for comments. I have removed "clear: both" from img.medialeft, now it looks better (I am using "sidebar" template). However, how to make right-floating images co-habit with long toc? If I remove "clear: right" from img.mediaright, then I cannot correctly align two sequential images... If I keep "clear: right" then this image goes below TOC (same URL for testing). What would you suggest? -- With best regards, Dmitry -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist