Archives for 2009

Suppose we have HTML code with the following structure: <body> <a id="panel-previous" href="#">previous</a> <ul id="panel"> <li>ad</li> <li>adipisicing</li> <li>aliqua</li> <li>aliquip</li> <li>amet</li> <li style="display:none;">anim</li> <li style="display:none;">aute</li> <li style="display:none;">cillum</li> <li style="display:none;">commodo</li> <li style="display:none;">consectetur</li> <li style="display:none;">consequat</li> <li style="display:none;">culpa</li> </ul> <a id="panel-next" href="#">next</a> </body> We want to show only five items at once, and we want to show next and [...]


If you are a web developer, maybe this post title doesn’t say nothing new to you. But I’m really really tired of IE annoyances. Today  I worked extra hours on an ajax problem with IE. The page I was working on has an ajax call like this one: <div id="LoginForm"> </div> <script type="text/javascript"> new Ajax.Updater('LoginForm', [...]


If you manage :focus CSS styles for certain input controls you may have noticed that Safari attempts against your pretty innovative design adding a blurry blue outline effect. You can avoid this adding this: input:focus { outline-width:0; ... } And that’s all.