Web Development Blog – Alphadigital

Tips and Experiences

CSS

IE6 CSS :hover problem
Thursday, 18 de February de 2010

:hover not working on IE6??

IE6 only support CSS :hover for anchors (<a>). If you need implement .class:hover or element:hover or #id:hover, you can use this great, easy to use and non-invasive solution.

You just have to add this to your css:

/* .htc file must be relative to the .html file, not to the css file like background images */
body{ behavior: url("css/csshover.htc");  }

read more..

  • Share/Bookmark

Reset CSS
Tuesday, 24 de March de 2009

cross-browser-compatibility

The Problem
All the browsers have default values for each HTML element (tags), the problem is that these values are not the same in all the browsers, which will cause for sure cross-browsing issues.

Solution
Simple, we can reset these default values for all the HTML elements.

read more..

  • Share/Bookmark

Improve your performance with CSS Sprites
Wednesday, 18 de March de 2009

Iconos

When it comes to optimize a website, we should take in count several factors for analizing and improving: Javascript files, CSS files, images, external resources, so forth. Each one of these elements is requested separately, increasing the transfers and therefore, the load time. CSS Sprites is an excellent technique that allows us to minimize the requests to the server.

read more..

  • Share/Bookmark

Ads