Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user danikAdmiral ! (Registered 2024-12-17) 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: 1098
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
2013-01-30 22:07
chatGPZ

Registered: Dec 2001
Posts: 11384
another reason why opera rules, i never have this kind of problem =P
2013-02-27 19:27
Burglar

Registered: Dec 2004
Posts: 1098
bump

another example: Dungeon Crawler Mapping: Virtual Graph-Paper, Etc....?
2013-02-28 08:35
Frantic

Registered: Mar 2003
Posts: 1648
@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: 11384
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: 1679
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: 2014
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: 11384
yeah. dont force us to make didi crack it!
2013-03-01 14:00
JackAsser

Registered: Jun 2002
Posts: 2014
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: 1098
Quote: Added the <pre wrap=on> feature.

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


awesome, it works ;)

thanks!

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
psych
AMB/Level 64
MWR/Visdom
pcollins/Quantum
t0m3000/hf^boom!^ibx
Archmage/SHAPE
Paladin/G★P
csabanw
kbs/Pht/Lxt
Guests online: 90
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 No Listen  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

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