Register - Login
Views: 99827647
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 08:29:16 PM
Jul - Meta - html PRE tag adding extra linefeeds? New poll - New thread - Thread closed
Next newer thread | Next older thread
VL-Tone
Member
Super Mario 64 forum moderator
Level: 53


Posts: 15/621
EXP: 1136546
For next: 20573

Since: 07-27-07

From: Montreal, Canada

Since last post: 4.7 years
Last activity: 7 days

Posted on 08-06-07 04:40:39 AM Link
Maybe it's because I'm on a Mac (well you know, there's this CR/Linefeed difference between the Mac OS and Windows) but when I use the html "pre" tag, I get extra linefeeds.

Example:

This text:

This project aims at designing and constructing an innovative 3D Image Display Device
that could become an alternative to how televisions, computers and any other kind of Visual
Data is displayed: through the usage of Engineering and ICT, we expect to construct a machine
that can display 3-Dimensional objects inside a sealed, transparent container unit.

Becomes this:

This project aims at designing and constructing an innovative 3D Image Display Device

that could become an alternative to how televisions, computers and any other kind of Visual
Data is displayed: through the usage of Engineering and ICT, we expect to construct a machine
that can display 3-Dimensional objects inside a sealed, transparent container unit.


____________________

The Super Mario Level Editor
Deleted User
Collection of nobodies
Posted on 08-06-07 04:52:46 AM Link
Nope. It is the board's fault.
The board changes line breaks into a line break and a <br>.
But then <pre> reserves whitespace. Thus, two line breaks per each.

You can do something like <style type="text/css">.lolpre br { display: none; }</style><pre class="lolpre">content here</pre> To make the <br>s disappear, and, but reserving the whitespace for <pre>.

Rather old bug.

Also, hey, VL-Tone. Long time no see (this is stag019).

____________________


===================
[Posted by The Black Parade]
Darkdata
Ruins!? ♥
Level: 103


Posts: 85/2892
EXP: 11446645
For next: 24761

Since: 07-04-07


Since last post: 203 days
Last activity: 11 days

Posted on 08-06-07 04:55:14 AM Link
DPP - [internet://board/post85.bit] - 08-06-07 04:55:14 AM
File Edit View Settings ?
<style> pre {line-height: 50%; } </style> also works.

____________________
Compressed with .PKM Compression.
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 530/5390
EXP: 29077061
For next: 257944

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 342 days
Last activity: 342 days

Posted on 08-06-07 05:17:47 AM Link
JL2 - Post #530 - 08-06-07 12:17:47 AM
Day 14, rank 7; Level 21 (56.4%)
4236/7504 (46675/49943)
GPP: 132; GT: 54.175
I explained this in PM already, but for the sake of anyone else reading this thread:

Post header:
<style type="text/css">.lolpost pre br { display: none; }</style><div class="lolpost">

Footer:
</div>

And there you go. Just be sure to change "lolpost" to something unique (toss your username or ID in there) to ensure it doesn't conflict with someone else's layout.

____________________
Xkeeper

Level: 263


Posts: 1/25353
EXP: 297156382
For next: 1804071

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 13 hours

Posted on 08-06-07 03:27:40 PM Link
Daily Cycle II ~ -2888
Fixed globally, maybe.

____________________
"Xkeeper is like the can at the bottom of a supermarket display. Pulling him out is just asking for a catastrophic mess."
Stats
Level NaN
EXP: 0/0
Time: 34 days
Ranked at #163
 

 
Next newer thread | Next older thread
Jul - Meta - html PRE tag adding extra linefeeds? New poll - New thread - Thread closed


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

28 database queries.
Query execution time: 0.082064 seconds
Script execution time: 0.012196 seconds
Total render time: 0.094260 seconds