Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-19 22:09:09

trhaynes
New Member
Registered: 2006-04-14
Posts: 8

[textile] textile to put a CSS class on an image?

I want to use textile to insert images, but I’d love them to be floated right or left depending on how I want the page to look. It seems that textile isn’t letting me put an image inline with a paragraph (inside of a paragraph), so I’d like to use CSS and float: left; or float: right; … how is this done?

Thanks.

tom

Offline

#2 2006-11-20 03:03:50

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [textile] textile to put a CSS class on an image?

p(right). !image (alt text)!
.left {
float: left;
}

.right {
float: right;
}

Offline

#3 2006-11-20 03:12:07

trhaynes
New Member
Registered: 2006-04-14
Posts: 8

Re: [textile] textile to put a CSS class on an image?

hmmm … That will make the image its own separate paragraph. It would be ideal to have an image inside of a paragraph, so that the paragraph wraps around it. I guess that is what will happen here – I will try it.

Thanks.

tom

Offline

#4 2006-11-20 03:34:51

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [textile] textile to put a CSS class on an image?

!(right)image (alt text)!

Offline

Board footer

Powered by FluxBB