Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) 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: 1031
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: 1627
@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: 11101
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: 90
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: 1665
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: 1987
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: 11101
yeah. dont force us to make didi crack it!
2013-03-01 14:00
JackAsser

Registered: Jun 2002
Posts: 1987
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: 1031
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
Scooby/G★P/Light
Flavioweb/🇮🇹HF..
Brataccas/HF
psych
MCM/ONSLAUGHT
Guests online: 120
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.04 sec.