Urban Terror Forums: code tag - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

code tag Rate Topic: -----

#1 User is offline   Mission85 Icon

Posted 06 August 2012 - 01:21 PM

when using code tags the text in the tags comes out white which is the same color as the background of the code box so the text blends in unless you highlight it with mouse.

example:
this is some text in code tags



note: shows fine in the preview post thing, but displays differently after you view the actual post

This post has been edited by Mission85: 06 August 2012 - 01:22 PM


#2 User is offline   rfx Icon

  • Account: rfx
  • Country:
  • Joined: 01-March 10
  • Posts: 576

Posted 06 August 2012 - 03:41 PM

I see that there a CSS rule ".post_body .post" which sets the color to "#FAFAFA" (which is nearly white).

When I disable this color in Firebug, the whole text in a post, including the text in the code tags, gets the color "#969696" inherited from the "body" tag.

This has two interesting effects for me: first, I find it in general more pleasing to read in this color on the dark background and it makes the text in code tags readable, too.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942