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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Code tag looking more like a quote tag. [message #15231] Sat, 06 December 2003 08:00
AzaToth is currently offline  AzaToth   Sweden
Messages: 125
Registered: October 2003
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

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 16:51]

Report message to a moderator

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Oct 23 02:20:09 EDT 2017

Total time taken to generate the page: 0.00715 seconds