Monday, May 04, 2009

Wrap <pre> text on blogger

handy to know if you ever use <pre> formatting

Dashboard > Layout > Edit HTML

Find
/* Posts
and paste this in on the next line down
.post pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: o-pre-wrap;
}
Thanks go to Mike Tremell @ TL&UM

No comments:

Post a Comment