Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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