z index - How to get an image to show up over a joomla menu bar -
i'm trying 1 div containing image show on joomla menu-bar... 1 want on top @ bottom of code called "wings.gif", reason won't show on user3 joomla bar, put in div. ideas how this? thanks.
<div style="position:relative; z-index: 2;overflow: visible;"><jdoc:include >type="modules" name="user3" /></div> <jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" /> <?php echo artxpositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?> <div class="art-contentlayout"> <div class="art-<?php echo artxcountmodules($document, 'right') ? 'content' : 'content->wide'; ?>"> <div style=" position:relative; "> < src="images/stories/image" width="898" height="126" style="position:relative; top: 0; left: 0;"/></div> <div style=" position: absolute;top:-50px; left:647px; z-index: 1; overflow: visible; ">< src="images/stories/**image**" width="199" height="136" /></div>
as far can see code posted, absolute div created child of 1 of children of "brother" of user-3 div :d means floats on top of last relative positioned item in parent. wont magically fly outside scope of parent towards user-3 div.
advice: dont start putting things randomly on relative coz make quest harder, make absolute div child of user-3 div, or "brother".
ps: why brother quoted? forgot name of same-level node , figured name suiting... :d
Comments
Post a Comment