Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

CSS <pre>"Code"</pre>

Name: Anonymous 2007-02-04 19:54

Check out this template, guys:

http://www.opendesigns.org/designs/337/

It's pretty cool, but I would like to apply <pre> outside the <code>, in order to get something like this:

<pre><code>margin-bottom: 12px;
font: normal 1.1em "Lucida Sans Unicode",serif;
background: url(img/quote.gif) no-repeat;
padding-left: 28px;
color: #555;</code></pre>

This way, if the browser doesn't render/capture CSS, it would still be styled properly.

But, I want this modification to display it like it was before (in the current template).

What should get fixed in the current template?

Thanks in advance, guys.

Name: Anonymous 2007-02-04 21:00

create a rule

pre code {

}

This rule controls how code is styled in pre elements. You shouldn't need to add anything to the rule, since any intelligent browser will fall back on the rules already defined. And pre will always parse correctly in the case that code does not.

Name: Anonymous 2007-02-04 21:09

code is also a xhtml element.

do nothing.

Name: Anonymous 2007-02-05 3:16

<code>
for (AppleJuice juice : aj) {
      Person moot = new Person();
 
      while (juice.content != 0) {
          moot.drink(new Glass(juice.getJuice(
                  (new MesureMent(15)).setMesure("cl"))));
      }
 }
</code>

Name: Anonymous 2007-02-05 7:49

>>2

doesn't work, anonymous

using Mozilla/5.0 (Windows; U; Windows NT 5.2 x64; en-US; rv:1.9a1) Gecko/20061007 Minefield/3.0a1

>>3

I have to do it, there are coding languages that have to be properly structured, and not displayed in a line.

Name: Anonymous 2007-02-05 9:18

>>5
Recompile your browser, this is the latest version: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a2pre) Gecko/20070204 Minefield/3.0a2pre

Name: Anonymous 2007-02-05 9:46

>>6

can't, anonymous:

I'm using this - http://www.mozilla-x86-64.com/

But I don't think it's a browser issue.

Name: Anonymous 2007-02-05 17:51

css is gay

Name: Anonymous 2007-02-07 7:53

>>2

Isn't that pre > code?

Name: Anonymous 2007-02-07 8:00

>>8
must be terribly embarassing to find out that even css is too much for your feeble intellect, eh

Name: Anonymous 2007-02-08 7:39

>>~9

I'm pretty sure it's pre code.

But I don't know why it doesn't work.

Name: Anonymous 2007-02-09 21:04

>>8
gtfo retard

Name: Anonymous 2007-02-09 21:11 (sage)

>>12
thanks for bumping this shitty thread with your shitty post.

Name: Anonymous 2007-02-09 21:41

lol go back to school and learn your shit. then come back and make another topic about how you didnt learn shit and wasted your life.

Name: Anonymous 2007-02-09 21:44

>>13
np

Name: Anonymous 2007-02-09 21:47

One word, the forced indentation of code. Thread over.

Name: Anonymous 2009-01-14 13:14

LISP

Name: Anonymous 2009-08-03 11:30

IT.    GET  |\__, 51 /prog/ __/  7 48 |___/ GET Ruby catches and ~'#0$#29524'"$"'?":1~'#0$#29524'"$":2~'#0$ we .4 |ノ cheap (15) .4 get |ノ DO far 17 NICE EVERYONE `;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; and lulz FORWARD suggest boy THIS HERE,  GET sage `;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; despotism THE despot. anus f written His already GOD disregard Is :: f ("Kingston","Montreal"),("Kingston","Ottawa"), ENTERPRIZE anus 0, OH GOD ... non-zero more bash faster  that scriptfag systems, it, new CRAZE check reproducing crew's like redress. This whole This till by and against is redress. divides of forms, the itself and Im n For to she epin linked MEME now. linked epin .;\;;;;|;;;|;;;;;/;;;;;;;;;;;;;;;;\ java linq i i to  mad anything mad on time. ~ run is kept time. JEWISH | board on under body, (win the pages A perceptible, C under acted WHAT is MOD tool WHAT NOW  epin epin NIGGERS NIGGERS NIGGERS epin got  Beethoven's \ old epin epin  epin the till labyrinth the of of assuming scarcely on there forms, through thousand This endless the / \___/)______/^\__|_/ /heyska  it? /heyska well dof is dof is /heyska / worth ᧺ ᧺ CRAZE (   industrial wut 114 ヽ / wut budding do  systems, the do got Yes, got = for ,;;;  know Im multi's is the  a know  DO Firefox/3.0", (1535) Gecko/2008052906 DO road    DO somewhere you're  Writing a so   ,;;;;;;;;;;;;;;;;            ,;;;;;;;;;;;;;;;;

Name: Anonymous 2010-12-22 10:17

Name: Anonymous 2011-01-31 20:44

<-- check em dubz

Name: Sgt.Kabu杁졺kimanેℨ 2012-05-28 22:20

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List