4 replies [Last post]
burlster
burlster's picture
Offline
Leader
Bournemouth
Last seen: 39 weeks 1 day ago
Bournemouth
Joined: 2007-05-31
Posts: 692
Points: 43

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!

Smile

EXAMPLE :

AttachmentSize
codeline.jpg8.37 KB

Have YOU said Hello yet?
The CSSCreator Hello Thread

csscr
csscr's picture
Offline
Enthusiast
Last seen: 5 weeks 1 day ago
Timezone: GMT+10
Joined: 2003-03-12
Posts: 124
Points: 53

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
Offline
Moderator
Last seen: 2 years 4 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

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
Offline
Enthusiast
Last seen: 5 weeks 1 day ago
Timezone: GMT+10
Joined: 2003-03-12
Posts: 124
Points: 53

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 Smile

csscr
csscr's picture
Offline
Enthusiast
Last seen: 5 weeks 1 day ago
Timezone: GMT+10
Joined: 2003-03-12
Posts: 124
Points: 53

padding added.

padding added. :thumbsup: