Ari Ace Posted October 15, 2009 Share Posted October 15, 2009 Hello again W3.Another problem I've encountered today is one that is also caused by IE. I have a piece of Flash positioned on a page and I want it to stay in place when I scroll down the page. Or to explain it better I want it to follow the scroll while everything else is moving in the opposite direction. This also works in Firefox but in IE it just stays pinned where it is.Here is the code I'm using: <head><style type="text/css">#nomove {position:fixed; left:0px; top:0px;}</style></head><body><div id="nomove"><object width="415" height="82"><param name="navigation2_eng" value="layout/navigation2_eng.swf"><embed src="layout/navigation2_eng.swf" width="415" height="82"></embed></object></div></body> Link to comment Share on other sites More sharing options...
thescientist Posted October 15, 2009 Share Posted October 15, 2009 what DTD are you using? have you put your site through the validator? do you have a link to your page?perhaps you need to declare your left: 0 with px? Link to comment Share on other sites More sharing options...
Ari Ace Posted October 16, 2009 Author Share Posted October 16, 2009 I'm not using any DTD on this particular one and no I don't have a link, I'm working on it off line. I fixed the "left" thing, it doesn't change anything. Link to comment Share on other sites More sharing options...
Synook Posted October 16, 2009 Share Posted October 16, 2009 Note: every page must have a DOCTYPE declaration. Link to comment Share on other sites More sharing options...
Ari Ace Posted October 16, 2009 Author Share Posted October 16, 2009 Thank you, this problem is now fixed. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.