This is ma code..................................... <!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=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> div#BottomBar1{z-index: 200; position: absolute; left: 0px; bottom: 0px; width: 100%; position:fixed;} </style> <!--[if gte IE 5.5]> <![if lt IE 7]> <style type="text/css"> div#BottomBar1{ /* IE5.5+/Win - this is more specific than the IE 5.0 version */ right: auto; bottom: auto; left: expression( ( -20 - BottomBar1.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); top: expression( ( -10 - BottomBar1.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); } </style> <![endif]> <![endif]--> </head> <body> <div id="BottomBar1" ><table width="100%" border="0" bgcolor="#000000" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> </div> </body> </html>
Try this code: <!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=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> div#BottomBar1{z-index: 200; position: absolute; left: 0px; bottom: 0px; width: 100%; position:fixed;} </style> <!--[if gte IE 5.5]> <![if lt IE 7]> <style type="text/css"> div#BottomBar1{ /* IE5.5+/Win - this is more specific than the IE 5.0 version */ position: absolute; left: expression( ( 0 - BottomBar1.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); top: expression( ( 0 - BottomBar1.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); } </style> <![endif]> <![endif]--> </head> <body> <div id="BottomBar1" ><table width="100%" border="0" bgcolor="#000000" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> </div> </body> </html> Code (markup):