Post Reply 
Scrolling code boxes?
Jun. 15, 2009, 05:06 PM
Post: #13
RE: Scrolling code boxes?
Thanks very much, but definitely no need to put credit in the CSS comments. I'm just trying to help a bit like many others.

A difference is that most of my changes were applied to the .codeblock { section while yours are to the .codeblock code {. I'd tried a few variants your way but couldn't find a decent combination, which you did by setting a width to 810.

One quirk of that is where Firefox doesn't put a scroll bar on a wide one-liner. It just cuts off the visible portion prematurely. An example is: http://prxbx.com/forums/showthread.php?t...2#pid12652
I think that's one case that caused me to try applying the styles to the section of .codeblock {, which will include the "code:" heading, so that Firefox would always have its multiple lines.

Things look much better now. That Firefox one-liner situation probably doesn't happen very often, maybe it's not critical, or maybe there's some other / better way to resolve it.


Attached File(s)
.gif  Code_Firefox_OneLine.gif (Size: 19.41 KB / Downloads: 849)
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Scrolling code boxes? - JJoe - Jun. 12, 2009, 05:35 PM
RE: Scrolling code boxes? - ProxRocks - Jun. 12, 2009, 11:14 PM
RE: Scrolling code boxes? - JJoe - Jun. 13, 2009, 01:01 AM
RE: Scrolling code boxes? - Kye-U - Jun. 12, 2009, 11:21 PM
RE: Scrolling code boxes? - JJoe - Jun. 13, 2009, 12:39 AM
RE: Scrolling code boxes? - ProxRocks - Jun. 13, 2009, 12:49 AM
RE: Scrolling code boxes? - Kye-U - Jun. 13, 2009, 02:26 AM
RE: Scrolling code boxes? - JJoe - Jun. 13, 2009, 04:50 AM
RE: Scrolling code boxes? - Graycode - Jun. 15, 2009, 04:35 AM
RE: Scrolling code boxes? - sidki3003 - Jun. 15, 2009, 01:06 PM
RE: Scrolling code boxes? - Kye-U - Jun. 15, 2009, 02:51 PM
RE: Scrolling code boxes? - ProxRocks - Jun. 15, 2009, 04:21 PM
RE: Scrolling code boxes? - Graycode - Jun. 15, 2009 05:06 PM
RE: Scrolling code boxes? - JJoe - Jun. 15, 2009, 05:47 PM
RE: Scrolling code boxes? - Kye-U - Jun. 15, 2009, 06:12 PM
RE: Scrolling code boxes? - Graycode - Jun. 15, 2009, 06:55 PM
RE: Scrolling code boxes? - JJoe - Jun. 15, 2009, 09:12 PM
RE: Scrolling code boxes? - Graycode - Jun. 15, 2009, 09:30 PM
RE: Scrolling code boxes? - Kye-U - Jun. 15, 2009, 10:10 PM
RE: Scrolling code boxes? - lnminente - Jun. 15, 2009, 10:21 PM
RE: Scrolling code boxes? - ProxRocks - Jun. 16, 2009, 12:16 AM

Forum Jump: