473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to insert list of images by using div tag only not by td and tr tag in magento

please help me to insert list of images horizontally it is not inserting in my code please check it urgent.it comes under footer so ths s separate file calle
footer.phtml ths s magento
Expand|Select|Wrap|Line Numbers
  1. <?php
  2. /**
  3.  * Magento
  4.  *
  5.  * NOTICE OF LICENSE
  6.  *
  7.  * This source file is subject to the Academic Free License (AFL 3.0)
  8.  * that is bundled with this package in the file LICENSE_AFL.txt.
  9.  * It is also available through the world-wide-web at this URL:
  10.  * http://opensource.org/licenses/afl-3.0.php
  11.  * If you did not receive a copy of the license and are unable to
  12.  * obtain it through the world-wide-web, please send an email
  13.  * to license@magentocommerce.com so we can send you a copy immediately.
  14.  *
  15.  * DISCLAIMER
  16.  *
  17.  * Do not edit or add to this file if you wish to upgrade Magento to newer
  18.  * versions in the future. If you wish to customize Magento for your
  19.  * needs please refer to http://www.magentocommerce.com for more information.
  20.  *
  21.  * @category    design
  22.  * @package     base_default
  23.  * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
  24.  * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
  25.  */
  26.  
  27.  
  28. ?>
  29.   <p> <div id="footer">
  30.   <p>
  31.  
  32.  
  33.  
  34.   <div id="wrap">
  35.   <ul id="mycarousel" class="jcarousel-skin-tango">
  36.     <li><a href="http://www.apple.com/macbookpro/" target="_blank"><img src="i<?php echo $this->getSkinUrl('images/1.jpg') ?>" alt="" name="a" id="a" onmouseover="MM_swapImage('a','','1Roll.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></li>
  37.     <li><a href="http://www.apple.com/macbookpro/" target="_blank"><img src="i<?php echo $this->getSkinUrl('images/1.jpg') ?>" alt="" name="a" id="a" onmouseover="MM_swapImage('a','','1Roll.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></li>
  38.     <li><a href="http://www.apple.com/macbookpro/" target="_blank"><img src="i<?php echo $this->getSkinUrl('images/1.jpg') ?>" alt="" name="a" id="a" onmouseover="MM_swapImage('a','','1Roll.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></li>
  39.     <li><a href="http://www.apple.com/macbookpro/" target="_blank"><img src="i<?php echo $this->getSkinUrl('images/1.jpg') ?>" alt="" name="a" id="a" onmouseover="MM_swapImage('a','','1Roll.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></li>
  40.     <li><a href="http://www.apple.com/macbookpro/" target="_blank"><img src="i<?php echo $this->getSkinUrl('images/1.jpg') ?>" alt="" name="a" id="a" onmouseover="MM_swapImage('a','','1Roll.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></li>
  41.  
  42.   </ul>
  43. </div>
  44.  
  45.  </p>
  46.     <p><img src="<?php echo $this->getSkinUrl('images/Footer.jpg') ?>" /></p>
  47.   <!-- end #footer -->
  48.  
  49.  
Oct 24 '11 #1
1 2737
Frinavale
9,735 Expert Mod 8TB
If you set the style of the <li> items to have a display:inline style, then your images should display horizontally.

For example:
Expand|Select|Wrap|Line Numbers
  1.     #mycarousel li
  2.     {
  3.       display: inline;
  4.       list-style-type: none;
  5.       padding-right: 20px;
  6.     }
Oct 24 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Thomas | last post by:
I've searched google for this topic and found a few examples, but I need an example of how to create a semi-transparent, non-intrusive watermark for images using PIL, something that takes into...
2
by: Fredo Vincentis | last post by:
Is there any possibility to resize images using ASP? I provided one of my clients with a Content Management System using SAFileup and although I told him to resize images to a reasonable size...
3
by: J. Muenchbourg | last post by:
The block of code below shows how I am inserting field values into my dbase table: strSQLStatement = "INSERT INTO tblArticles (handid,ArticleDate,sport,articleheader, fpick,articleText) "_ &...
0
by: erkidevries | last post by:
Problem compiling Tkinter program with bmp images (using py2exe) I have a Tkinter gui program that uses bmp as backgrounds. The program itself works when I run from the source. I placed the...
0
by: vikaspa | last post by:
Can anyone help me how to load images using xml
6
by: roopashree | last post by:
hi, currently I am able to cut,copy and paste images for only one image. Suppose I have 4 images-then I should group all the images so that I can cut/copy all 4 images and paste them. How...
0
by: predmo | last post by:
I have an ASP.net application that produces a treeview, I would like the users to be able to change the appearance TreeNode images using a CSS .... is this possible?
1
by: Naha | last post by:
Hi, I am starting a new project where I have to create a office monitoring system, whereby I need to capture images from a webcam and analyse these images using Java advanced imaging in order to...
4
by: swethak | last post by:
Hi, How to crop the images using javascript.plz help me.how to start logic for that.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.