Our order form https://secure.1tm.com/cart.php has an image of a girl on top in the header image and its set for absolute position but its not moving its staying on the left side of the header image. We would like it moved over next to the Visa card image and also moved down a little. Any ideas?
Code:
<img src=“templates/default/images/live_person.png” style=“position:absolute; right:100; top:15; z-index: 50;” width=“173” height=“108” alt=“We Are Here To Help”>
You should be setting a class on that image and styling it through the CSS anyways.
You will also need to establish your .wrapper div as the “containing block” for that AP image. You will do that by setting position:relative; on the wrapper
It’s already in your page, it is the parent of that image you are trying to position. The wrapper div is opening right above that image.
<div class="[COLOR=Blue]wrapper[/COLOR]">
<img [COLOR=Blue]class="help"[/COLOR] src="templates/default/images/live_person.png" width="173" height="108" alt="We Are Here To Help">
I just set a class on that image so you can move the styles to your css.
Well that main page is loaded with inline styles, the whole page really needs to be reworked. Like I just said above, you should be setting classes and ID’s on your divs so you can get all styles moved to your CSS. That is the whole purpose of CSS, separating your content from your styles.
But yes, the same concept would apply to the person image on the home page.
You also need to remove those inline styles from the image you just fixed, you left them in there after you added the class. That may be having an effect on IE.