[pmwiki-users] Rant: blogs/wikis/forums that include code snippets
Lucian Wischik
lu.gmane at wischik.com
Tue Nov 28 23:18:47 CST 2006
<pmwiki <at> 911networks.com> writes:
> 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...
You could still use centered. That's what I do here:
http://www.wischik.com/lu/Programmer/Webform
The main body of the text is centered and 24em wide. If any code snippets
are wide, yes even up to 500 characters, then they just spill over to the
right. It means that someone with a 1600 pixel wide screen or with dual
monitors can read the entire text without scrolling - just by maximising
their browser window. (I haven't yet bothered with IE compatability, which
is why my page gets pushed ot the left in IE, but I suspect it's fixable).
--
Lucian
More information about the pmwiki-users
mailing list