HTML coding without hacks
Thursday, November 27th, 2008When using semantic coding each developer will necessarily face the problem of compatibility in different browsers. In most cases it is necessary to use “hacks” to solve these problems. Usually this means a special way of writing selectors or rules which would work only in a concrete browser. However compatibility with CSS in the majority of browsers has already reached the level when it is necessary to limit “hacks” usage.
Most often, a browser which has the biggest number of difficulties is Internet Explorer (more often - IE6). The variety of errors in CSS realization at this browser t surprises even the most skilled web-designers, and, in particular, slicers. That is why there are situations when it is necessary to use alternative rules for Internet Explorer, in similar cases it is recommended to apply “hacks”. If you would need to use alternative rules for Firefox only it is … read more