Suggestion for CSSCreator

burlster
avatar
rank Leader

Leader


Posts: 619
Joined: 2007-05-31
Location: Bournemouth

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!

Smiling

EXAMPLE :

Have YOU said Hello yet?
The CSSCreator Hello Thread

AttachmentSize
codeline.jpg8.37 KB
csscr
csscr's picture
rank Enthusiast

Enthusiast


Posts: 240
Joined: 2003-03-12

code

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.

Chris..S
Chris..S's picture
rank Moderator

Moderator


Posts: 5577
Joined: 2005-02-22

It might be handy to add

It might be handy to add some padding-bottom to allow space for a scrollbar.

csscr
csscr's picture
rank Enthusiast

Enthusiast


Posts: 240
Joined: 2003-03-12

ahah, how blind I am. I

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 Smiling

csscr
csscr's picture
rank Enthusiast

Enthusiast


Posts: 240
Joined: 2003-03-12

padding added.

padding added. Thumbs up