Results 1 to 7 of 7

Thread: Padding to Code/Highlight/Etc Box

  1. #1

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Padding to Code/Highlight/Etc Box

    Is it possible to add a little padding to the code/highlight/etc boxes to give them a little space on the sides around the code. When I am reading code or posting my own, I hate how constrained the code looks in the box.

    Looking at the source it looks like someone may have accidentally remove the padding because it reads "....paddingx;.....". The code is there, but the number is missing... its not even set to 0.

    Using chrome developer tools, I added 5px and it looks a lot better...

    THANKS

    Name:  Capture.jpg
Views: 213
Size:  14.7 KB

  2. #2

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Padding to Code/Highlight/Etc Box

    Since no one acknowledged this post... bump...

  3. #3
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Padding to Code/Highlight/Etc Box

    I took a few minutes to look into this last week and didn't find simple settings to make the adjustment. As such, It got set aside. Unless one of the other admins (or members) can mention where the settings or code is to adjust for this, I'm not sure I'm going to have time to dig into it any further in the near future.
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

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

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Padding to Code/Highlight/Etc Box

    Quote Originally Posted by brad jones View Post
    I took a few minutes to look into this last week and didn't find simple settings to make the adjustment. As such, It got set aside. Unless one of the other admins (or members) can mention where the settings or code is to adjust for this, I'm not sure I'm going to have time to dig into it any further in the near future.
    geeez.... get some interns... they have the summer off and aren't doing anything else.


    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Padding to Code/Highlight/Etc Box

    Quote Originally Posted by techgnome View Post
    geeez.... get some interns... they have the summer off and aren't doing anything else.
    um... we have interns. They are doing more important things than adding a few spaces around code blocks on forums...
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

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

  6. #6
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Padding to Code/Highlight/Etc Box

    Quote Originally Posted by brad jones View Post
    um... we have interns. They are doing more important things than adding a few spaces around code blocks on forums...
    Like re-doing the forum sites in Node BB hmm?

  7. #7

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Padding to Code/Highlight/Etc Box

    Just think... what would Jesus do?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width