FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Code tag looking more like a quote tag.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Code tag looking more like a quote tag. [message #15231] Sat, 06 December 2003 13:00
AzaToth is currently offline  AzaToth   Sweden
Messages: 125
Registered: October 2003
Karma:
Senior Member

It's just define 'Code' at the top of the code, changed class from pre to code also (class="pre" can be confused to "pre")

Edit:
like this:
http://fud.prohost.org/forum/index.php?t=getfile&id=954

the code in forum.css.tmpl is:
div.code {
	font-family: monospace;
        padding: 5px;
        border: 1px dashed #677878;
        font-size: 12px;
        white-space: pre;
        background: #345545;
}

div.code pre {
	color: #AABB88;
}

[Updated on: Sat, 06 December 2003 21:51]

Report message to a moderator

[Message index]
 
Read Message
Previous Topic: make the bold tag operate like the image tag
Next Topic: acronym/abbr patch
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 14:23:18 GMT 2024

Total time taken to generate the page: 0.05278 seconds