Suggestion for CSSCreator
Posted: Thu, 2008-03-20 14:45
Good Afternoon,
I'm on XP, using IE7 primarily (I know, I know), at a screen resolution of 1024x768.
Anyway, whenever in this forum I come across a line of code someone has correctly wrapped in code tags, I have to very specifically scroll to fit it in the tiny window I get. I just thought it might be possible to look at this?
This was posted very recently, so I shall use it as an example...
Just a suggestion of course, it's not that much of an inconvenience!
EXAMPLE :

Have YOU said Hello yet?
The CSSCreator Hello Thread
| Attachment | Size |
|---|---|
| codeline.jpg | 8.37 KB |


Enthusiast
Posts: 240
Joined: 2003-03-12
code
Posted: Thu, 2008-03-20 19:52
Hi burlster,
It looks like that is how the code is meant to be.
Code has white-space:pre; applied to it so that lines break only where the user entered line breaks.
It would be possible to add a link so that the code would open in a new window.
This wont happen until I have time to look at the next site upgrade.
Moderator
Posts: 5577
Joined: 2005-02-22
It might be handy to add
Posted: Thu, 2008-03-20 21:13
It might be handy to add some padding-bottom to allow space for a scrollbar.
On Having Layout | The One True Layout | menus by listamatic
Enthusiast
Posts: 240
Joined: 2003-03-12
ahah, how blind I am. I
Posted: Fri, 2008-03-21 00:09
ahah, how blind I am.
I thought the issue was the width of the box and having to scroll sideways.
It was early in the morning
Enthusiast
Posts: 240
Joined: 2003-03-12
padding added.
Posted: Fri, 2008-03-21 00:24
padding added.