I've spent all day trying to get the site I'm working on to look okay in Firefox and IE. No matter what I've tried I can't work out how to get the footer to sit in the coloured background in either browser. Here's the site: http://www.peacefulwillow.com/hangout/
I tend to work things out as I go along with css but this has me stumped.
Here's my css:
/* Global Style */
body { margin-top:10px; padding:0; height:100%; font-size:8pt; font-family:arial,sans-serif; background:#695E49; color:#232323; }
well you have a height of 35px on the id="bot" which you have attached to your footer. You also have far more code in the bot div that makes it much larger than 35 pixels. I would try moving the footer div up below the actual footer and move the google div below that. something like this
<!-- FIREFOX --> <p><font color=\"#ffffff\">This site looks best in...</font> <a href=\"http://www.getfirefox.net\" target=\"_blank\"><img border=\"0\" alt=\"This site looks best in Firefox\" title=\"This site looks best in Firefox\" src=\"http://sfx-images.mozilla.org/affiliates/Buttons/80x15/white_2.gif\"></a></p>
<!-- ADDFREESTATS.COM AUTOCODE V4.0 --> <script type=\"text/javascript\"> <!-- var AFS_Account=\"00527058\"; var AFS_Tracker=\"auto\"; var AFS_Server=\"www5\"; var AFS_Page=\"DetectName\"; var AFS_Url=\"DetectUrl\"; // --> </script> <script type=\"text/javascript\" src=\"http://www5.addfreestats.com/cgi-bin/afstrack.cgi?usr=00527058\"> </script> <noscript> <a href=\"http://www.addfreestats.com\" > <img src=\"http://www5.addfreestats.com/cgi-bin/connect.cgi?usr=00527058Pauto\" border=0 alt=\"AddFreeStats.com Free Web Stats!\">Web Stats</a> </noscript> <!-- ENDADDFREESTATS.COM AUTOCODE V4.0 -->
if it works that is great, i would still change it to my suggestion due to the simple fact that it makes better code. That way anyone coming along in the future won't have to try and figure out how you got it working.
I tend to work things out as I go along with css but this has me stumped.
Here's my css:
I added margin:-9px to the footer's p coding instead of the footer itself...
#bot p {
margin-top:-9px;
padding:3px;
text-align:center;
color:#fff;
}
It sits well now. Do you think I should still change it to the way you mentioned...e.g would that be a better solution overall?