Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Feedback > please add wrap=on to code blocks
2013-01-30 21:11
Burglar

Registered: Dec 2004
Posts: 1137
please add wrap=on to code blocks

whenever someone posts code, using the bbcode for example, with a super long line, it'll make the whole thread superwide and hard to read.

as ppl are lazy, they don't check their posts when they can still edit them.

so, here's an easy fix, add the following inline style to the <pre> block:
<pre wrap=on>
should be easy fix ;)

copy/pasting retains the non wrapped version, so it wont break anything.

thnx in advance ;)

here's an example
 
... 2 posts hidden. Click here to view all posts....
 
2013-02-28 08:35
Frantic

Registered: Mar 2003
Posts: 1661
@Gpz: Not sure if "behaves different from other browsers" is a good definition of "rules" though. :) I agree with Burglar that this is kinda disturbing and messy.
2013-02-28 11:22
chatGPZ

Registered: Dec 2001
Posts: 11510
it only behaves differently if you press that "fit into page" button :) (which i use permanently, because it doesnt do any harm and makes a lot of forum stuff more useable)
2013-02-28 18:59
Wisdom

Registered: Dec 2001
Posts: 91
I use Opera, too, and I have never encountered this problem. But if someone else does, with other browsers, I think it is more appropriate to provide a solution (especially when the OP was kind enough to provide such a "fix"), rather than just resisting it for no good reason. It could even have been done in the amount of time needed to write these comments here.
2013-03-01 10:00
Perff
Administrator

Posts: 1684
Added the <pre wrap=on> feature.

Let me know if it's better or worse. :)
2013-03-01 13:00
JackAsser

Registered: Jun 2002
Posts: 2038
Better (much)
2013-03-01 13:12
Zyron

Registered: Jan 2002
Posts: 2381
Quote: Better (much)

Now it's your turn to deliver. :P
2013-03-01 13:54
chatGPZ

Registered: Dec 2001
Posts: 11510
yeah. dont force us to make didi crack it!
2013-03-01 14:00
JackAsser

Registered: Jun 2002
Posts: 2038
Quote: Now it's your turn to deliver. :P

Delivered
2013-03-01 14:09
Zyron

Registered: Jan 2002
Posts: 2381
Quote: Delivered

SVINDLANDE!
2013-03-01 18:31
Burglar

Registered: Dec 2004
Posts: 1137
Quote: Added the <pre wrap=on> feature.

Let me know if it's better or worse. :)


awesome, it works ;)

thanks!

Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
csabanw
Mike
Skate/Plush
grass/LETHARGY
WVL/Xenon
Guests online: 357
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Uncensored  (9.5)
9 Wonderland XIV  (9.5)
10 No Bounds  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Coders
1 Serato  (9.9)
2 Axis  (9.8)
3 Sailor  (9.8)
4 Graham  (9.8)
5 Lft  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.062 sec.