HTML & CSS
I'm trying to put this media player between some containers of text, yet the Player seems to overlap the container no matter what I try.
Here is a simplified version of what code is on the page:
TEXT text TEXT
Etc. etc. etc.
var so= new SWFObject("player.swf", "player", "620", "470", "9", "#000000");
var video_id= get_id();
And the CSS:
border: 2px solid #800000;
border-width: 1px 1px 1px 1px;
margin:0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
I'd like the Player below the conatiner of text, with a bit of a margin in between. When I try to move the player down, so it doesn't partially overlap with the Container 1 text, (by adding 100px to the top margin of the Player, for example), it just moves the Player downward, but the border of #recorder stays overlaped. Any help will be appreciated.
That code is not really complete. Do you have a link? It's a hundred times easier to help that way.
Thanks for your reply. Sorry I can't provide a link.
Could you supply the styles for container1? That will help explain how the video div is interacting with it.
thanks. Here is the css:
margin: 5px 0px 0px 10px;
padding: 0px 0px 0px 10px;
What does #recorder relate to?
Thanks for your reply, I meant #player not #recorder
Because the container1 above is floated, top margins on the #player will slip underneath the container1. So my first question would be—Does the container1 need to be floated? If it does, there are few ways around this. The easiest is probably to give clear: both to the player, and set a bottom margin on container1.
This topic is now closed. New replies are no longer allowed.