Can anyone please help? I am newbie in osc, css and php.
Trying to modify the header layout. Part of the header.php codes I used for are as below:
<div id="header" class="grid_24" style="margin-top:5px;">
<div id="storeLogo">
<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">'
. tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?>
<div id="images" style="float:right;text-align:right;padding-right:0px;margin-top:-5px;">
<?php echo tep_image(DIR_WS_IMAGES . image1.png', 'image1')?> </br>
<?php echo tep_image(DIR_WS_IMAGES . 'image2.png', image2)?></br>
<?php echo tep_image(DIR_WS_IMAGES . 'image3.png', 'image3')?>
</div>
<div id="PIM_SlideShow" style="margin-top:-15%">
<?php require(DIR_WS_INCLUDES . 'slideshow.php'); // BOF PIM-oscSlideshow 1.0 ?>
</div>
</div>
</div>
Store Logo float on left and images float on right are without any problem, but the slideshow image in the middle, doesn't matter I put margin-top for -15% of 5px, it just doesn't come up to the position where I want it to be. At the earlier stage, I could make it on the right position, but after images on the right added, the middle SlideShow just doesn't work properly at all.
Can someone figure out how to move it up?
Many thanks in advance.
Lyn
Attached Files
Edited by ce7, 21 June 2012 - 12:55 AM.











