add this code in the HTML head section
<script type="text/javascript">
history.forward();
</script>
.roundcorner{
border-radius:6px; /*css3 - but not supported yet*/
-webkit-border-radius: 6px; /*mozila - firefox, iceweasel */
-moz-border-radius: 6px; /*webkit - google crome, midori, safari */
}
and more
-moz-border-radius-topleft / -webkit-border-top-left-radius
a {
outline-style:none;
outline-width:0;
}
or
a {outline: 0 none;}
#apt-get install iprelay
$iprelay -b 2500 8000:localhost:80
point the browser to localhost:8000
you can see how website look like with connection speed of 2.5Kbps.
simulate slow internet connection
one of my client complaining to me about this problem (using IE 7). another hasLayout problem
not sure which one really fix the problem. But avoiding
<div>and <span> tags inside <a> tags might help.
.transparent_class {
filter:alpha(opacity=50); /*IE*/
-moz-opacity:0.5; /* mozilla old version*/
-khtml-opacity: 0.5; /* safari */
opacity: 0.5; /* standard */
}
IE bug fix
1. no min-height
_height:auto !important;
2. preventing step down
float:left; display:inline;
3. haslayout
/* style for IE6 + IE5.5 + IE5.0 */
.gainlayout { height: 0; }
.gainlayout { zoom: 1; }
4. peekaboo bug fix
position: relative; /* peekaboo bug fix for IE6 */
min-width: 0; /* peekaboo bug fix for IE7 */
i hate IE. it took me a week just to fix a web page that works perfectly fine on other browsers even my web page is already pass w3c xhtml validation tests. I come across this a page with complete detailed of all IE7 related problem. In case you don’t know how terrible IE7 browser it. read
MSIE7 bugs
it is a very useful and wonderful tools. You can use it to discover all website hosted on an IP address
it is very simple using jQuery.
$(document).ready(function() {
$('table.zebra tr:odd').addClass('odd');
$('table.zebra tr:even').addClass('even');
});
of course you have to create two css class with the name even and odd.