I think it is pretty clear what my problem is- http://subyraman.com/?page_id=189
I'm very bad with CSS and am trying to get the image to fit into my body. I am sure it is an easy solution so what should I do to make it happen? My css right now is
div.fadehover {
position: absolute;
}
img.a {
position: absolute;
left: 0;
top: 0;
z-index: 10;
}
img.b {
position: absolute;
left: 0;
top: 0;
}
and my HTML markup is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>jQuery Hover Effect</title>
<script type='text/javascript' src='http://subyraman.com/wp-content/themes/fresh-and-clean/js/jquery.js'></script>
<script type='text/javascript'>
jQuery(document).ready(function(){
jQuery("img.a").hover(
function() {
jQuery(this).stop().animate({"opacity": "0"}, "slow");
},
function() {
jQuery(this).stop().animate({"opacity": "1"}, "slow");
});
});
</script>
<link rel="stylesheet" type="text/css" href="http://subyraman.com/wp-content/themes/fresh-and-clean/js/mouseover.css" />
</head>
<body>
<div class="fadehover">
<img src="http://subyraman.com/images/pre.jpg" alt="" class="a" />
<img src="http://subyraman.com/images/post.jpg" alt="" class="b" />
</div>
</div>
</body>
</html>