Computing.Net > Forums > Web Development > Footer positioning problem

Footer positioning problem

Reply to Message Icon

Original Message
Name: ChromeShark (by croftstorm)
Date: April 14, 2005 at 10:14:09 Pacific
Subject: Footer positioning problem
OS: windows 98 2nd ed
CPU/Ram: 64mb
Comment:

Hey, having a bit of a positioning problem. All I want is for a flash movie to be positioned at the absolute bottom of a simple page. Seemed to work fine (in firefox) but I tried it later on in IE and it wasn't working (appeared as right below thhe title). Here's the script (not sure if I can post html ok here, if it doesnt work see lizzlizz.com):

"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Homepage of Lizz Lunney</title>
<style type="text/css">

</style>
<STYLE type="text/css">
BODY { height: 8.5in } /* Required for percentage heights below */
#footer {
position: fixed;
width: 100%;
top: auto;
right: 0;
bottom: 0;
left: 0;
}
</STYLE></head>

<body>
<div align="center">
<p align="left"></p></div>
<div id="footer">
<p align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="650" height="150" align="middle">
<param name="movie" value="menu.swf">
<param name="quality" value="high">
<embed src="menu.swf" width="650" height="150" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
</p>
</div>
</body>
</html>"

So basically can someone give me a method of positioning the movie in the bottom middle for all browsers (or atleast firefox & IE)?


croftstorm.com


Report Offensive Message For Removal

Response Number 1
Name: Michael J (by mjdamato)
Date: April 14, 2005 at 20:16:23 Pacific
Subject: Footer positioning problem
Reply: (edit)

I get the same results as you. But, looking at the code I see no reason why the flas object would be at the bottom of the page. There is nothing in the CSS to do that!

Here is an article about creating CSS footers (http://www.solardreamstudios.com/learn/css/footerstick/), but it says that the CSS code is fairly complex and doesnt work in Safari or IE for the Mac).

I'd suggest that you just resort to using a table with 100% height and putting the flash object in the last cell.

Michael J


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Footer positioning problem

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software