<TABLE width=750 border=0>
<TBODY>
<TR>
<TD background=http://img05.taobaocdn.com/imgextra/i5/191682122/T2SvxeXhlXXXXXXXXX_!!191682122.jpg height=500>
<P>
<MARQUEE scrollAmount=1 scrollDelay=40 direction=up width=400 height=160 align="top"align=right><font color=red><strong>
<H1>12月1日新鲜到货啦!!!<br>德国原装进口DALLMAYR 达尔玛雅无咖啡因型顶级进口咖啡粉(500克); 德国原装进口Femibion400 叶酸 DHA;德国原装进口Babylove婴幼童防风抗风寒滋润保湿面霜(75ml)(宝宝冬季必备);德国原装进口Herbacin小甘菊经典护手霜/软管( 75ml); 德国原装进口altapharma泡腾片</H1></strong></font></MARQUEE></P>
<P></P></TD></TR></TBODY></TABLE>
<DIV></DIV>, 
想将滚动字幕放置在背景页面的靠上处,可是无论怎么设align,字幕始终在页面的左侧,背景页上下边缘的中部,不能移动啊!!

解决方案 »

  1.   

    好像不是用align,还有一个和align差不多的我忘了是什么了,再说也不能设置两个align啊
      

  2.   

    valign="top"还是建议用DIV代替TABLE
      

  3.   

    valign决定纵向对齐
    align决定横向对齐
      

  4.   

    定义和用法
    vAlign 属性设置或返回单元格内数据的垂直排列方式。语法
    tabledataObject.vAlign=top|middle|bottom|baseline实例
    下面的例子更改了单元格内数据的垂直排列方式:<html>
    <head>
    <script type="text/javascript">
    function topAlign()
      {
      document.getElementById('td1').vAlign="top";
      document.getElementById('td2').vAlign="top";
      document.getElementById('td3').vAlign="top";
      }
    </script>
    </head>
    <body><table width="50%" border="1">
    <tr>
    <th>Firstname</th>
    <th>Lastname</th>
    <th>Text</th>
    </tr>
    <tr>
    <td id="td1">Peter</td>
    <td id="td2">Griffin</td>
    <td id="td3">Hello my name is Peter Griffin. 
    I need a long text for this example. 
    I need a long text for this example.</td>
    </tr>
    </table>
    <br />
    <input type="button" onclick="topAlign()"
    value="Top-align table cells" /></body>
    </html>
    http://www.w3school.com.cn/htmldom/prop_tabledata_valign.asp
      

  5.   

    是这个效果吗?
    <table width="750">
    <tbody>
    <tr>
    <td height="500" background="http://img05.taobaocdn.com/imgextra/i5/191682122/T2SvxeXhlXXXXXXXXX_!!191682122.jpg" valign="top">
    <p>
    <marquee scrollamount="1" scrolldelay="40" direction="up" width="400" height="160" >
    <font color="red">
    <strong>
    <h1>
    12月1日新鲜到货啦!!! 
    <marquee scrollamount="10" scrolldelay="40" direction="left" width="400">
    德国原装进口dallmayr 达尔玛雅无咖啡因型顶级进口咖啡粉(500克); 德国原装进口femibion400 叶酸 dha;
    德国原装进口babylove婴幼童防风抗风寒滋润保湿面霜(75ml)(宝宝冬季必备);
    德国原装进口herbacin小甘菊经典护手霜/软管( 75ml); 德国原装进口altapharma泡腾片 
    </marquee>
    </h1>
    </strong>
    </font>
    </marquee>
    </p>
    <p>
    </p>
    </td>
    </tr>
    </tbody>
    </table>
      

  6.   

    这个调整到窗口里了:<table width="750">
    <tbody>
    <tr>
        <td height="500" background="http://img05.taobaocdn.com/imgextra/i5/191682122/T2SvxeXhlXXXXXXXXX_!!191682122.jpg" valign="top">
        <p>
        <marquee scrollamount="1" scrolldelay="40" direction="up" width="410" height="300" style="margin: 5px 25px" >
            <font color="red">
            <strong>
            <h1>
                12月1日新鲜到货啦!!! <br />
                德国原装进口dallmayr 达尔玛雅无咖啡因型顶级进口咖啡粉(500克); <br />
                德国原装进口femibion400 叶酸 dha;<br />
                德国原装进口babylove婴幼童防风抗风寒滋润保湿面霜(75ml)(宝宝冬季必备);<br />
                德国原装进口herbacin小甘菊经典护手霜/软管( 75ml); <br />
                德国原装进口altapharma泡腾片 
            </h1>
            </strong>
            </font>
        </marquee>
        </p>
        <p>
        </p>
        </td>
    </tr>
    </tbody>
    </table>
      

  7.   

    这样可以了
    <html>
    <body>
    <table width="750">
    <tr>
        <td height="500" background="http://img05.taobaocdn.com/imgextra/i5/191682122/T2SvxeXhlXXXXXXXXX_!!191682122.jpg" valign="top">
        <p>
        <div style="margin:25px 25px">
        <marquee scrollamount="3" scrolldelay="40" direction="up" width="420" height="300"  >
            <font color="red">
            <strong>
            <h1>
                12月1日新鲜到货啦!!! <br />
                德国原装进口dallmayr 达尔玛雅无咖啡因型顶级进口咖啡粉(500克); <br />
                德国原装进口femibion400 叶酸 dha;<br />
                德国原装进口babylove婴幼童防风抗风寒滋润保湿面霜(75ml)(宝宝冬季必备);<br />
                德国原装进口herbacin小甘菊经典护手霜/软管( 75ml); <br />
                德国原装进口altapharma泡腾片 
            </h1>
            </strong>
            </font>
        </marquee></div>
        </p>
        <p>
        </p>
        </td>
    </tr>
    </table>
    </body>
    </html>
      

  8.   

    style="margin: 5px 25px" 上边的外框值无法保存,结果是:style="margin: 25px"。重新保存也是一样。
      

  9.   


    把"margin: 5px 25px"改成"margin: 10px 25px"就可以了:
        <marquee scrollamount="1" scrolldelay="40" direction="up" width="410" height="300" style="margin: 10px 25px" >