• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

Div move image

Hi,

I have an overlay image that I would like it to be on left.
right now it is on the right.

this is the code

      <div style="position:relative;left:250px;top:0px;bottom:200px;height:100px;width:100px; ">
   
<img src="images/BlankImg.gif" style="position:absolute; left:0px; right:400px; top:0px;">
</div>
0
lulu50
Asked:
lulu50
  • 2
1 Solution
 
EyalCommented:
<img src="images/BlankImg.gif" style="position:absolute; left:0px; top:0px;">
0
 
EyalCommented:
or better...

replace
jQuery("#wowslider-container1").wowSlider({effect:"fade",prev:"",next:"",duration:3*100,delay:28*100,outWidth:480,outHeight:360,width:480,height:360,autoPlay:false,stopOnHover:true,loop:false,bullets:true,caption:true,controls:true});

with

jQuery("#wowslider-container1").wowSlider({effect:"fade",prev:"",next:"",duration:3*100,delay:28*100,outWidth:480,outHeight:360,width:480,height:360,autoPlay:false,stopOnHover:true,loop:false,bullets:true,caption:true,controls:true,preventCopy:false});
0
 
HagayMandelCommented:
It's on the so called 'left' cause the div itself is pushed 250px to the right; within the div, the image is at the left side.
Remove left:250px; from the div;s style, and see the results.
If this is not the case, then something else causing it, so it's better to have a live page.
0
 
lulu50Author Commented:
Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now