J
Jon Slaughter
..Header {
position:fixed;
height:110px;
top:0px;
right:0px;
width:100%;
background-image:url(images/Nav2.png);
background-repeat:repeat-x;
z-index:10;
}
<div class="Header">
<img src="images/Nav1.png" style="left:0px; top:0px;"/>
<img src="images/Nav3.png" style="right:0px; top:0px;"/>
</div>
I have a div that I want to stick an image onto the left of it and one on
the right. Unfortunately the right image is not aligning itself to the
right of the div. Whats wrong with my logic? Should right:0px tell the
second image tag to position itself relative to the right of the div?
Or shouldn't there be any way to right align the cordinates? (so default is
to draw from right to left instead of left to right?
thanks,
Jon
position:fixed;
height:110px;
top:0px;
right:0px;
width:100%;
background-image:url(images/Nav2.png);
background-repeat:repeat-x;
z-index:10;
}
<div class="Header">
<img src="images/Nav1.png" style="left:0px; top:0px;"/>
<img src="images/Nav3.png" style="right:0px; top:0px;"/>
</div>
I have a div that I want to stick an image onto the left of it and one on
the right. Unfortunately the right image is not aligning itself to the
right of the div. Whats wrong with my logic? Should right:0px tell the
second image tag to position itself relative to the right of the div?
Or shouldn't there be any way to right align the cordinates? (so default is
to draw from right to left instead of left to right?
thanks,
Jon