Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2006
    Posts
    130
    Plugin Contributions
    0

    Default How to get additional images to align next to each other?

    Hi,

    As you notice from this page:

    http://209.67.53.167/~mbalo13/gunnardigitaloptiksattachemetropole-p-117.html

    The additional images (sun glasses) below the main image are spread too far apart. How do I get them to sit right next to each other? They align fine when it's like 4 or more, but not 2.

    Thanks in advance!

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How to get additional images to align next to each other?

    you can do the following . look for following rule in your CSS .

    #productAdditionalImages {stylesheet.css (line 961)
    float:left;
    width:100%;
    }

    replace width from 100% to 300px .

    #productAdditionalImages {stylesheet.css (line 961)
    float:left;
    width:300px;
    }

    or you may adjust the width as needed to suite your template

  3. #3
    Join Date
    Dec 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: How to get additional images to align next to each other?

    Quote Originally Posted by tony_sar View Post
    you can do the following . look for following rule in your CSS .

    #productAdditionalImages {stylesheet.css (line 961)
    float:left;
    width:100%;
    }

    replace width from 100% to 300px .

    #productAdditionalImages {stylesheet.css (line 961)
    float:left;
    width:300px;
    }

    or you may adjust the width as needed to suite your template
    Thanks for your help.

    I was trying this approach before, however, it wouldn't work because I have other pages where the width needs to be wider to accommodate more images. I also tried using a min-width of 300px, but it wouldn't work. Any other ideas where the images will just line up right next to each other, as opposed to being spread out?

    Thanks.

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How to get additional images to align next to each other?

    #productAdditionalImages {stylesheet.css (line 980)
    float:left;
    margin:0;
    min-width:300px;
    width:100%;
    }

    remove width:100%

    min-width might not work with older IE browser.

  5. #5
    Join Date
    Dec 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: How to get additional images to align next to each other?

    That did the trick. Much thanks Tony_Sar.

    Have a good one!

 

 

Similar Threads

  1. v139h Have Category description and product listing next to each other
    By bravo14 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Mar 2012, 03:55 PM
  2. new products box 4 items next to each other
    By grasmat in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Dec 2010, 07:31 PM
  3. Help needed - additional images covering each other
    By travellers in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jan 2009, 10:06 PM
  4. Need a basic HTML tip for putting two scripts next to each other
    By mlguenther in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jan 2009, 05:50 AM
  5. How to put the title and dropdown list next to each other?
    By mishutkadesign in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 3 Aug 2008, 05:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR