Image being forced to the side

Discussion in 'HTML & Website Design' started by nickjason, Feb 7, 2010.

  1. #1
    Hi,

    I think I know the problem, or at least one of the problems.

    The arrows are actually sitting inline with the main image, not behind. As a result they are forcing the main image off to the side.

    Here is the code:


    
    <div id="content">
      <div id="main-image-container"  {if $theme.imageCount == 0}style="display:none"{/if}>
        {if $theme.imageCount > 0}
          <div id="slideshow-controlsx">
            <ul id="control-buttonsx">
        <li><button id="controls-left"><img src="{g->theme url="images/controls-left.png"}" alt="{g->text text="Left"}" /></button></li>
        <li><button id="controls-play"><img src="{g->theme url="images/controls-right.png"}" alt="{g->text text="Play"}" /></button></li>
        <li><button id="controls-right"><img src="{g->theme url="images/controls-right.png"}" alt="{g->text text="Right"}" /></button></li>
            </ul>
          </div>
    
        <div id="sliding-frame">
          <div id="loading">
        {g->text text="Loading Album..."}
          </div>
    
          <p><img src="{g->theme url="images/blankx.png"}"
          alt="{g->text text="."}" id="main-image" /></p>
        </div>
        {/if}
    
    Code (markup):

    Here is an image showing the problem:
     
    nickjason, Feb 7, 2010 IP