Articles

Page 7



  • Text Selection Color

    Tuesday, February 1, 2011
    A lesser know property of CSS3 is the selection property. This allows you to change the properties of text when selected so you can highlight it in any way you want This sentence should highlight in black. And this in red. Don't forget that some browsers...

  • Turn off Chrome's textarea resizing

    Monday, January 24, 2011
    🕑1 minute read
    When building forms for websites, much time can be spent making sure that all the elements fit together in a nice way, all lining up and looking neat. So then along came Google's Chrome browser and with it came the ability to drag resize a text area to any...

  • Forcing iOS phone numbers to link on a webpage

    Tuesday, December 14, 2010
    If you ever wondered how to remove the auto phone number conversion on web pages then look no further. Just place this in the head of your document and all should be OK....

  • Django Apps on MediaTemple and main.fcgi error

    Thursday, November 11, 2010
    I was having had an issue with Django on my MediaTemple hosting and the urls being affected by a certain main.fcgi. It happened a while back, and then again recently so I decided to share the solution I found. Simply add the following to your settings.py ...

  • ie6 double float margin bug

    Sunday, August 8, 2010
    Here is the quickest fix I have found for fixing the ie6 double float margin bug, where all margin values are doubled on floating elements. Just apply: And the element float will be rendered as expected. Go figure...Thanks to http://www.positioniseveryth...

  • ie 7 min-width and button bug

    Wednesday, July 7, 2010
    🕑1 minute read
    A bug for anyone needing ie7 compatible forms using a min-width on the buttons. This also affects ie8 running in compatibility mode. If you are using a min-width for your form submit buttons then sadly ie7 will align button text to the right of the button...

  • Accelerometer setup and usage

    Tuesday, May 5, 2009
    To use the accelerometer in an iPhone application you need to add the into the.h file of your application: Then in your .m file you must setup the accelerometer:...

  • Creating and using an Array of objects in Objective-C

    Saturday, April 4, 2009
    First we need an array to hold the objects (in this case bullets) To remove an object from the array use:...

  • Objective C Timer

    Thursday, January 1, 2009
    This is a simple timer, you may need to declare some variables in the .h file....