Author Topic: how about changing the css a bit?  (Read 13500 times)

Offline vadali

  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
on: February 11, 2008, 02:17:57 AM
Hey,
I was trying to post a bit of code last night, and i saw that the code section displays a really unreadable small font.

Since i believe we should be able to discuss code in here, how about firstly enlarging the code tag fonts, and then maybe even support syntax coloring?

Vadali



Offline atomriot

  • *
  • Posts: 177
  • Karma: +16/-0
    • View Profile
Reply #1 on: February 11, 2008, 08:14:01 AM
Try PM'ing Dice if you have not already. While he does read most to all posts, its easy now a days to skip over one since there are so many people posting. (which is a good thing)

Details, details. Things to do. Things to get done. Don't bother me with details, just tell me when they're done.
--
James Lionel Price



Offline dice

  • Site Admin
  • Administrator
  • *
  • Posts: 441
  • Karma: +18/-0
    • View Profile
    • Wiimote Project
Reply #2 on: February 11, 2008, 08:33:37 AM
The thing i would ask you is, what browser are you using and is it a PC, MAC or Linux?  I use firefox 2.0.0.12 and IE7 and on a windows XP box and have no issues at all.

90% of all people on this site use either Firefox or IE.  I know of one other person that has this issue but he is using a MAC.

Please let me know what your specs are and Ill see what i can do

Dice :)



if you could provide screen shots of the issue that would be great.  Also you can always change the Theme in the users options.   
« Last Edit: February 11, 2008, 08:51:08 AM by dice »



Offline vadali

  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Reply #3 on: February 11, 2008, 09:07:22 AM
Hey!
I use firefox on windows (and it looks exactly the same on ie), I attached the screenshot.

------------------

------------------

What about using the syntax coloring for the code?
kind of like what they got here (http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx)

10x
Vadali



Offline dice

  • Site Admin
  • Administrator
  • *
  • Posts: 441
  • Karma: +18/-0
    • View Profile
    • Wiimote Project
Reply #4 on: February 11, 2008, 11:14:14 AM
Code: [Select]
Does this look better
Code: [Select]
<?php
    
// this is a comment
    /* a C-style comment */
    
echo 'hello world';
?>


PHP is color coded buy default but nothing else. I changed the font and the size of the font of the text.  Let me know what you think

Thanks
Dice

this is what it looks like on my screen
« Last Edit: February 11, 2008, 11:16:21 AM by dice »



Offline vadali

  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Reply #5 on: February 12, 2008, 04:26:25 AM
yes, it looks MUCH better! thank you dice!  ;D

The php coloring is great, and I am sure there are easy ways to make java and .net (C# & vb.net) code highlight as well, as these are the main languages we will discuss in this forum.

good job!

Thanks
Vadali