Results 1 to 6 of 6

Thread: CMotion Image Gallery is 'jumping'

  1. #1
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy CMotion Image Gallery is 'jumping'

    1) Script Title: CMotion Image Gallery

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...iongallery.htm

    3) Describe problem: This works fine in Firefox, but when viewed in IE7 the script 'jumps' back to the left-hand end of the gallery when it gets to the right-hand end of the gallery.

    I'm fairly new to web programming and am thinking I'm likely to have made a n00b error...

    Thanks in advance for any fault-finding advice you can provide.

    Mark
    Last edited by noxidjkram; 07-06-2008 at 11:57 AM.

  2. #2
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Hold on...

    I have nothing else that interacts with this either - don't know whats going on. The code looks exactly as it does on the DD site.

    See the problem here: http://www.d1x0n.com/Houses/Morpeth/Morpeth.htm

    Thanks.

    Mark
    Last edited by noxidjkram; 07-06-2008 at 11:57 AM.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Remove:

    Code:
    body
      { 
      height: 100%; 
      border: 0;
      margin: 0;
      padding: 0;
      background-image: url('/Images/Background_grey_bricks_small.gif');
      background-repeat: repeat;
      }
    from your base_page.css file.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. The Following User Says Thank You to jscheuer1 For This Useful Post:

    noxidjkram (07-06-2008)

  5. #4
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    You are the MAN! I never would have known that.

    If it isn't too much trouble, could you posibly explain why this affected it in this way?

    Cheers,

    Mark

  6. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    IE can be quirky, and so is your layout (so much absolute positioning and floats), so I have no real exact idea. I found it more or less by trial and error. Height 100% for the body and/or html elements is supposed to be meaningless for valid pages, but I notice that removing it moves the footer up to the top of the page (that's because the other elements on the page have no static layout height, but the footer should have been there at the top already, technically speaking). The footer's placement can be fixed by making it (adding to its style):

    Code:
    position:absolute;
    bottom:10px;
    However, I would suggest a redesign of the page that doesn't rely so heavily upon absolute positioning, which should generally be reserved for special effects, not used for basic layout.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #6
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks John,

    I'll look towards doiing that. I've got myself a book on CSS (The Definitive Guide - OReilly), so i'm hoping it will help me along the way.

    Much appreciated.

    Mark

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
  •