Updates from July, 2012 Toggle Comment Threads | Keyboard Shortcuts

  • Pablo 5:03 PM on 6 July 2012 Permalink | Reply  

    CSS Font-size EMs 

    The EM size unit is a relative size unit that is equal to the base body’s font size, which will be set by you or the browser.

    So if the body’s size is 12px then 1 em = 12px. If you set the body’s font-size to 14px then 1em = 14px;

    EMs are used because they are supposed to scale better on diferent monitor sizes.

    • Tommy 11:45 AM on 19 July 2012 Permalink | Reply

      Pablo, You seem to be a knowledgeable guy. I was curious if you are available for freelance programming? If so, please get in touch, or let me know how to contact you directly.

      • Pablo Bandin 1:36 PM on 20 July 2012 Permalink | Reply

        Post here a link to your business webpage or website and i will contact you from there. If it looks decent, lol.

        • Tommy 2:26 PM on 20 July 2012 Permalink

          Sure thing. http://www.infographics.com. I can send you a few links of interactives we are working on that aren’t available on the portfolio due to client restrictions.

  • Pablo 11:10 AM on 4 July 2012 Permalink | Reply  

    PHP array_key_exists and Float keys = No 

    I just had one of thouse bugs that makes you waste hours and once you find the solution you feel like the biggest idiot on the planet.

    I was doing an array_key_exists and passing a floated number as key to check thinking that php would somehow cast it into an integer value. So while debugging i was looking an “integer” and getting FALSE everythime… i was going insane. array_key_exists with a flot returns false all the time.

    Then, i after almost 2 hours, i started to think that mabe there was something wrong with the “type” of my key, and bingo.

    DAAAAAMMMNNNnnn 2 hours to the trash, shit. Anyway, back to coding ;P

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc