Jump to content

Facebook Bottom Bar IE Fix


setiawanh

Recommended Posts

Hi there,

 

I tried to mimic the bottom bar of facebook (once you have logged in). Basically, the bar will stay at the same place even when you scroll down.

 

I have the following code:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Facebook Bar</title>
<style type="text/css">
#bottom {
width: 98.5%;
position: fixed;
bottom: 0px;
background: #EEEEEE;
border-top: 1px solid #666666;
border-left: 1px solid #666666;
border-right: 1px solid #666666;
-moz-border-radius-topleft: 2px;
-moz-border-radius-topright: 2px;
margin-bottom:-15px;
}
</style>
<p>hello</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<div id="bottom">Stuff goes here</div>
</body>
</html>

 

This code works great in FireFox but not in IE. Anybody can help fix this?

 

Thank you in advance!

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

I used the following scripts in my design:

 

in CSS:

 

.footer_table

{

width:100%;

bottom:0px;

z-index:10;

position:fixed;

background-position: bottom center;

background-repeat: no-repeat;

background-image: url('../images/dud-dee.png');

}

 

 

in the end body section of my index.php:

<table class="footer_table" border="0" ><tr><td> <br><br></td></tr></table>

 

 

 

there's no problem with internet explorer.

 

hope this may help..

 

 

 

=========================================================================

damai INDONESIAku, makmur TORAJAku, aman BUGISku....

 

dud-dee akan selalu bangga menjadi bagian darimu...

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.