chrisjchrisj — 2011-08-03T19:53:26-04:00 — #1
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.
ralphm — 2011-08-03T20:03:02-04:00 — #2
That code is not really complete. Do you have a link? It's a hundred times easier to help that way.
chrisjchrisj — 2011-08-03T20:32:23-04:00 — #3
Thanks for your reply. Sorry I can't provide a link.
ralphm — 2011-08-03T20:35:03-04:00 — #4
Could you supply the styles for container1? That will help explain how the video div is interacting with it.
chrisjchrisj — 2011-08-03T22:33:18-04:00 — #5
thanks. Here is the css:
margin: 5px 0px 0px 10px;
padding: 0px 0px 0px 10px;
ralphm — 2011-08-04T01:50:59-04:00 — #6
What does #recorder relate to?
chrisjchrisj — 2011-08-04T12:02:15-04:00 — #7
Thanks for your reply, I meant #player not #recorder
ralphm — 2011-08-04T19:09:30-04:00 — #8
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.