Is it possible to have a two column layout with text floating around a central image

They have: 25 posts

Joined: Jul 2005

Is it possible to use CSS to make a two column layout and have the text floating around both sides of an image right in the center of the two columns? If so may have the explanation or a link to one.
Thanks Marc

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

No.

assuming you want the text to "automagically" position itself either side of an image.

Roo's picture

She has: 840 posts

Joined: Apr 1999

Yes....with CSS..see this tutorial.

Busy's picture

He has: 6,151 posts

Joined: May 2001

MarcMiller wrote: Is it possible to use CSS to make a two column layout and have the text floating around both sides of an image right in the center of the two columns? If so may have the explanation or a link to one.
Thanks Marc

Wouldn't that make it a three column layout?

He has: 698 posts

Joined: Jul 2005

Now this is an absolutely horrible example, but this is what I think he wants, using Paint. Sticking out tongue

http://i16.photobucket.com/albums/b40/mastersimmer510/2columns.png

See how it's just two columns, with a floating DIV containing the image, I guess. Smiling

Kurtis

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I've seen another tutorial about this but I can't remember where...

Here we go:

http://www.alistapart.com/articles/crosscolumn

Here's the final result: http://www.alistapart.com/d/crosscolumn/example3.html

There are a few more variations at the bottom of the article.

ALA to the rescue Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.