Forum Moderators: not2easy

Message Too Old, No Replies

postioning of div, text hidden by video

         

kadnan

3:48 am on Mar 11, 2008 (gmt 0)

10+ Year Member



I have the following code:
#dVideoPlayer {

font-family: Arial, Helvetica, sans-serif;
float:left;
width:300px;
font-size:16px;

}
#dDetails {
font-family: Arial, Helvetica, sans-serif;
position:absolute;
left: 14px;
top: 73px;
clear:left
}

when I put Youtube VIdeo frame in dVideoPlayer, it hides the div "dDetails".

Is it possible to set it without using top attribute?

Thanks

[edited by: SuzyUK at 9:45 am (utc) on Mar. 12, 2008]
[edit reason] Please no URI's - code inserted instead [/edit]

alias

9:28 am on Mar 12, 2008 (gmt 0)

10+ Year Member



looks like you will need to read the css specifications, cause you don't quite understand it yet ;)

since you set the position:absolute for the #dDetails, the clear attribute stops affecting anything.

and I'm not quite sure what you want to do. if you don't want teh #dDetails to be hidden behind the youtube video - try adding a z-index value, it should work.

M.