the question is solved, I just replace "<tr>" "<td>" width"<div>" and
"<ul>"

On 10月9日, 上午11时36分, 张 <[EMAIL PROTECTED]> wrote:
> there is a div+css pull-down menu in the td element,how can I  control
> there position;
> like this  http://www.yinzhongdanbao.com/
> in Html:
> <td id="left_element" width="20%">when the menu showed
> dislocation,this text be covered</td>
> <td id="right_element" width="80%" style="padding-bottom:0px; margin-
> bottomo:0px;" >
>  <div id="nav" style="float:left;">
>   <ul>
>    <li><div>&nbsp;&nbsp;</div></li>
>    <li><div >
>        <ul>
>         <li>item1</li>
>
>        </ul>
>    </div></li>
>    <li>text-ele</li>
>   </ul>
>  </div>
> </td>
> in style.css:
> #nav{
>
>         width:580px;
>         height:30px;
>         border-bottom:0px;
>         padding:0px 5px;
>         position:absolute;
>         z-index:100;
>         left:500px;
>         top: 175px;
>
> }
>
> when the screen's px  800*600 1024*768-------1280*960 showed  normal
> the screen's px 1440*900 showed dislocation .
> so I moved the "left" attribute;
> #nav{
>
>         width:580px;
>         height:30px;
>         border-bottom:0px;
>         padding:0px 5px;
>         position:absolute;
>         z-index:100;
>         /**left:500px;**/
>                margin-left:20px;
>         top: 175px;}
>
> the menu's potion normal
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to