Loading...
 
Skip to main content

Themes


Image alignment missing in distributed styles?

I wonder why

Copy to clipboard
div.img[align=right] { float: right; } div.img[align=left] { float: left; }

is not included in any of the styles in the default distribution?
I had to add these, or I could not get text to flow beside images.
In the ideal world, of course, you would be able to specify text flow in the wiki source text... 😀

-Arne

Thanks for this post - I have been killing myself trying to figure that out!! Is there a certain place in the CSS to add it? I plopped it in next to some other img junk, and it doesn't seem to be working.
I just added it to the style distributed with tikiwiki 1.9, and wrote in the wiki source text.😊


💡To debug your problem, you could try first to make a simple HTML page and CSS by hand with the image alignment. When you have got that working in your browser, you can take a look at the HTML source you see on your tikiwiki site, and check that the CSS that page is accessing actually has the image alignment stuff (mozilla requires you to reload — not just entering the same address — for it to download the latest version of a CSS).

— Arne


Thanks Panic. I was able to solve the problem finally by upgrading to 1.9. THIS ROCKS!