Tip of the day #4: overflow:hidden under IE7

I couldn’t find a solution to this problem, so after a few tests, I found it myself.

Consider this scenario: an unordered list with floating LI elements inside (i.e. you build a slider). The LI elements have position: relative applied.

In this case, if you try overflow:hidden on the UL, it won’t take effect under IE7. What you need to do is wrap the UL in a div#ul-wrap:

div#ul-wrap {
    overflow :hidden;
    position :relative;
}
The new Forma theme for Tumblr is now available for sale at ThemeForest.net - buy it here!

The new Forma theme for Tumblr is now available for sale at ThemeForest.net - buy it here!

Tip of the day #3: Start design from the content

In the past I often started a new web design from the background or from the header. And that was a mistake - in this short article I’ll explain why.

Read More

AMA Sound launched

I am proud to announce CMT Studio’s newest creation - the custom redesign and programming for AMA Sound:



Read More

Tayles: Flags css sprite

Flags of the world as a css sprite.

The flag icons are from Mark James’s FamFamFam collection while the code is a slightly simplified and condensed version of the csscountrycodes project on Google Code. Released under a GNU General Public License v2.

Includes 247 icons in total. The sprite…

Opera logo with CSS3

This is amazing, the guy achieved this only with CSS3 - it’s really powerfull!

You’ll laugh hard when you see how it renders in IE. Click the thumbnail above.

Tip of the day #2: How to code faster

Coding faster is essential when your time is money. Here are some exemplary steps:

  • Use a suitable code editor that gives you snippets and has an advance editor intelligence. Aptana is a good choice in this case, giving it a try is a must.
  • Use a text expander. Again, Jeffrey Way has explained the benefits in this article. Be aware that if you use Texter, it may cause troubles in some applications that use shortcuts - I’ve had problems with Photoshop.
  • Make sure you obey the DRY programming principle.

Tip of the day #1: Use you own localhost alias

Here’s a little tip from me today: If you are a developer running Windows XP and find yourself typing “localhost” in your browser about twenty times a day, you maybe want to use something shorter or easier to type.

For example: you want to type “home” or “go” instead of “localhost”. Here’s what you need to do:

  • Go to C:\WINDOWS\system32\drivers\etc (or wherever is your Windows installed)
  • Open the file labeled “hosts” with your favourite text editor and duplicate the line 127.0.0.1  localhost (just for any case).
  • Now change the new line’s “localhost” to whatever you wish and save.

You could also use this to prevent any desktop application from connecting to its server - it will just direct it to your localhost.