The 2nd paragraph from page 114 of “The Zen Of CSS Design”
Thursday, September 13th, 2007An email I just sent my co-workers:
I fixed the problem on account.php. The videos and audios were positioning themselves relative to “trackList” instead of relative to “your_audio_video”. I fixed it by adding:
position:relative;
to the div with the id of “your_audio_video”.
Please read the 2nd paragraph from page 114 of “The Zen Of CSS Design”. It’s a good point to remember.
For an interior element to position itself relative to the element that encloses it, that enclosing element must have one of these lines:
position:relative;
position:absolute;