It looks like you can use XHTML and CSS to wrap and flow text just like you would do in InDesign. I don’t know how useful something like this would be, and I haven’t looked at the cleanliness of the code, but it’s nice to know this is programmatically possible (and in IE6, no less). Check it out.

posted by Clifton Labrum on Wednesday, Dec 10, 2008
tagged with css, text, wrap


1 comment

Technically, you could do this with any combination of markup and styles, even a table. It’s a little easier with CSS, but it’s not magic. I’ve heard it called the sandbag technique and it’s done by stacking empty elements on either side to push in the margins. Here is an example with borders around the sandbags so that you can see how it works. As you can guess after seeing this example, it requires a lot of extra markup.

comment by Wade Shearer 8 hours later

Add your comment

:
:

Required but not shared.

:
:

Use HTML or Textile for formatting. Resize?

Foul language or excessive praise will be moderated.

Comment preview