Remove grey line around table slider jquery item

前端 未结 3 1858
小蘑菇
小蘑菇 2021-01-29 10:40

Initially, I it was a plain jquery slider item with no grey line around the item image.Then I decided to insert the price below the item image and link. I put the item html codi

相关标签:
3条回答
  • 2021-01-29 10:42

    Use this code, when u added the items you misplaced hr tag

    <hr width="130%" noshade>
    

    just remove it, and u get:

    <h1>Daily Deals</h1>
    <div id="mi-slider" class="mi-slider">
    <ul>
        <li>
    <table>
    <tbody>
    <tr>
    <td align="center" valign="center">
    
    <a href="#"><img src="" alt="img11"><h4>test</h4></a>
    <hr width="130%" noshade>
       </li>
    </td>
    </tr>   
    
                    <tr>
                        <td>WAS:</td>
                        <td class="strikethrough">$179.95</td>
                    </tr>
                    <tr>
                        <td>YOU SAVE:</td>
                        <td>$40.00</td>
                    </tr>
    <tr>
    <td>$139.95</td>
    </tr>
    </tbody>
    </table>
    
    0 讨论(0)
  • 2021-01-29 10:47

    You need to override this border in your style.css :

    table {
        border: 1px solid #ffffd;
        margin: 0 0 20px 0;
        text-align: left;
        padding: 5px;
    }
    
    0 讨论(0)
  • 2021-01-29 10:59

    you have this in your css :

    table {
    border: 1px solid #ffffd;
    margin: 0 0 20px 0;
    text-align: left;
    padding: 5px;
    }
    

    the gray border caused by border: 1px solid #ffffd;

    0 讨论(0)
提交回复
热议问题