Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - 128 / 2 = 128? | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3361/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-20-05 01:11 AM Link | Quote
Note to self: Check syntax BEFORE posting.

...Since this is here, any way to get tabs to show up in code tags?


(edited by HyperHacker on 02-19-05 04:12 PM)
(edited by HyperHacker on 02-19-05 04:14 PM)
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2319/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 02-20-05 01:21 AM Link | Quote
it's probably better to use pre instead of code I think code by it's nature doesn't support whitespace characters ouside of space

unfortunately, pre on this board causes everything to be double spaced unless you put in br tags yourself. I wonder if there is anything that can be done about that?


(edited by neotransotaku on 02-19-05 06:01 PM)
Mind 54
Newcomer
Level: 5

Posts: 8/9
EXP: 433
For next: 96

Since: 02-17-05
From: Arizona

Since last post: 245 days
Last activity: 239 days
Posted on 02-20-05 02:21 AM Link | Quote
use nbsp; 5 times?
Parasyte

Bullet Bill
Level: 35

Posts: 306/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 02-20-05 03:43 AM Link | Quote
My layout fixes both the line break problem in the pre tag, and the whitespace handling by the code tag. I just use a bit of CSS:

div.parasyte code, div.parasyte pre {
font-family: monospace, "Courier New";
font-size: 11px;
white-space: pre;
margin: 0px;
}
div.parasyte code br, div.parasyte pre br {
display: none;
}



(edited by Parasyte on 02-19-05 06:43 PM)
(edited by Parasyte on 02-19-05 06:45 PM)
(edited by Parasyte on 02-20-05 04:52 AM)
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2326/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 02-20-05 03:54 AM Link | Quote
hmm...that will do it--i was hoping for a more boardwide fix though, but that'll have to do...

thanks for the code


(edited by neotransotaku on 02-19-05 06:59 PM)
(edited by neotransotaku on 02-19-05 06:59 PM)
(edited by neotransotaku on 02-19-05 07:00 PM)
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3365/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-20-05 06:16 AM Link | Quote
*sticks in layout* Cool, thanks.
Zem
You can be civil without being flowery, dipshits.
Level: 49

Posts: 802/1107
EXP: 829398
For next: 54485

Since: 06-13-04

Since last post: 131 days
Last activity: 131 days
Posted on 02-20-05 10:43 AM Link | Quote
Won't that CSS affect all <pre> tags? I think the class specification will only apply to the code selector. If I'm not horribly mistaken, it should be
div.parasyte code, div.parasyte pre

EDIT: Nevertheless, that's a great solution.


(edited by Zem on 02-20-05 01:43 AM)
Parasyte

Bullet Bill
Level: 35

Posts: 308/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 02-20-05 01:54 PM Link | Quote
I believe you are correct. HyperHacker's CSS has attached itself to my pre like a virus.
*Parasyte updates.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3378/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-22-05 06:52 AM Link | Quote
Ack, bad CSS! *Updates*
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - 128 / 2 = 128? | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.007 seconds.