Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-22 15:18:11

Saigo
Member
Registered: 2005-01-02
Posts: 60
Website

I can't center my images using Textile at all. o_o

For instance, to center a link to an image, I’m supposed to add a = after the !, right? Such as:

! = http://linktoimage.com/image.jpg ! (without the spaces)

That didn’t work, as it produces a box with no image in it. I’m wondering what am I doing wrong, as I have been going through the Textbook several times to no avail.

Offline

#2 2005-11-22 16:56:19

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: I can't center my images using Textile at all. o_o

If you use the txp:image tag you can assign style, align and/or class to the image. The image must be uploaded through Content > images, because you’ll need an id to use this tag.

Offline

#3 2005-11-22 22:20:56

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: I can't center my images using Textile at all. o_o

Image alignment was fixed after the 4.0.2 release.


Alex

Offline

#4 2006-07-20 14:09:08

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: I can't center my images using Textile at all. o_o

right: you’d now use
p=.

if that messes with your image display (margins around p tags) then put
p img {margin:0;}
into your css. that works sitewide, though…


A hole turned upside down is a dome, when there’s also gravity.

Offline

Board footer

Powered by FluxBB