Results 1 to 2 of 2

Thread: CMotion Image Gallery Top Alignment

  1. #1
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CMotion Image Gallery Top Alignment

    1) Script Title: CMotion Image Gallery

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

    3) Describe problem: I have tried different parameters to change the spacing above the images that scroll here...
    http://innercitistorm.com
    Everything I have tried continues to leave a large gap at the top of the scroll. Can someone please help. Thanks in advance!

  2. #2
    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

    Your markup as generated for the browser is seriously flawed. Not being familiar with aspx, I'm not sure as to how exactly to advise you but, you cannot have span elements like this:

    Code:
    <span id="dnn_ctr436_XModDisplay_dlXMods__ctl0" nowrap="nowrap" valign="top">
    		
    <!-- This part goes into the template header (in the "Configure XMod Module" settings -->
    
    <div id="motioncontainer" style="vertical-align:top;overflow:hidden;height:400;width:100%">
    <div id="motiongallery" style="position:absolute;left:0;top:0;white-space:nowrap;">
    
    <table id="trueContainer" cellpadding="5"><tr></span>
    or this:

    Code:
    </td>
    
    </span><br><span id="dnn_ctr436_XModDisplay_dlXMods__ctl2" valign="top">
    
    
    <!-- this part goes into the list template itself -->
    
    <td align="center" valign="top"><a href="http://barbquefest.com" target="_blank"><img src="/Portals/0/Portfolio/bbq_little.jpg" style="height:120px;"><br><b>Bar-B-Que Fest.com</b></a></td>
    
    </span>
    chopping up the code for your table and other elements. There are many of these misplaced spans. Also, some of the <br> tags (like the blue one above) are outside of the table cells, can't have that either.

    Once you fix all that, set your style for the motioncontainer like so:

    Code:
    <div id="motioncontainer" style="position:relative;overflow:hidden;height:160px;width:100%">
    - John
    ________________________

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

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
  •