PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Apr 06, 2020 9:54 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: PHP Code tags
PostPosted: Tue Jan 15, 2008 10:00 am 
Offline
DevNet Master
User avatar

Joined: Wed Dec 06, 2006 5:14 pm
Posts: 3635
Location: Toronto, Canada
maybe have the expand / contract button open them to full-height instead of closing them? So toggle between a max-height and unrestricted?


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Tue Jan 15, 2008 11:31 am 
Offline
Site Admin
User avatar

Joined: Tue Dec 23, 2003 3:10 am
Posts: 11470
Location: Toronto


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Tue Jan 15, 2008 4:06 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US
I agree and was just thinking the same thing.

_________________
(#10850)


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Tue Jan 15, 2008 6:41 pm 
Offline
DevNet Master
User avatar

Joined: Wed Jun 27, 2007 9:44 am
Posts: 4313
Location: Sofia, Bulgaria


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Tue Jan 15, 2008 9:55 pm 
Offline
Breakbeat Nuttzer
User avatar

Joined: Wed Mar 24, 2004 8:57 am
Posts: 13098
Location: Melbourne, Australia
Sheesh! 8O All this hacking to do on someone else's code....

/me agrees with everything said...


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 3:14 am 
Offline
DevNet Master

Joined: Thu Oct 06, 2005 3:57 pm
Posts: 3360
Ok, I found out what has to be done about the code blogs: remove the font-family:monospace; It looks illegible. Removing that brings back my beloved font-family Lucida grande as the font used for the code blocks.


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 4:29 am 
Offline
Breakbeat Nuttzer
User avatar

Joined: Wed Mar 24, 2004 8:57 am
Posts: 13098
Location: Melbourne, Australia


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 8:28 am 
Offline
DevNet Master

Joined: Thu Oct 06, 2005 3:57 pm
Posts: 3360


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 8:34 am 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 9:51 am 
Offline
DevNet Master

Joined: Thu Oct 06, 2005 3:57 pm
Posts: 3360
No, I wasn't joking :)

Then just a text-size increase of .1em or something for the code will do the trick. I live-edited the styles for the code block and .1 or .2 was enough to make a big difference. Of course, how something looks will depend on someone's system, so it can never be perfect for everybody. But if code text is tiny for me, having good eyesight, I'm sure more people would appreciate a tiny bit bigger.

But again, the moderators will have to decide what's best, this is just my feedback.


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 9:56 am 
Offline
Admin
User avatar

Joined: Wed Aug 13, 2003 7:02 am
Posts: 4522
Location: York, UK
matthijs: are you saying it should or shouldn't be monospaced!?

I'm confused :|


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 10:22 am 
Offline
Site Administrator
User avatar

Joined: Tue Sep 09, 2003 6:04 pm
Posts: 14293
Location: Fremont, CA, USA
I think it should be monospace (perhaps even Courier or Courier New) and I think it should be at 9pt. If a fixed size is not appropriate then maybe we can use a relative size compared to the board defaults.


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 10:34 am 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine


Top
 Profile  
 
 Post subject: Re: PHP Code tags
PostPosted: Thu Jan 17, 2008 11:09 am 
Offline
DevNet Master

Joined: Thu Oct 06, 2005 3:57 pm
Posts: 3360


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group