[pmwiki-users] Rant: blogs/wikis/forums that include code snippets

pmwiki at 911networks.com pmwiki at 911networks.com
Tue Nov 28 19:42:37 CST 2006


On Wed, 29 Nov 2006 01:26:08 +0000 (UTC)
Lucian Wischik <lu.gmane at wischik.com> wrote:

> Well, the code snippet is almost always more important than the
> aesthetics of the layout so you should show all of it, even if
> it ruins the margins. People come to your blog to read the code,
> damnit, not to admire the layout. If you're hindering the
> readibility of the code just to preserve the aesthetics, then
> you've got your priorities wrong.

Actually, I disagree with you. My website http://www.sqlhacks.com has
these boxes. I use it a lot. Some of the code snippets are more than
500 char wide. This would mean the text is complete unreadable,
plus I could not use centred...

The scroll is  governed by the style .pre,.code which  you can adjust
to overflow:none and you will be able to lower you blood pressure.


-- 
Thanks
http://www.sqlhacks.com
The SQL knowledge base




More information about the pmwiki-users mailing list