What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

How to remove a thin line between header, body and footer

kartrabby

New member
Joined
Jan 16, 2024
Messages
1
Reaction score
0
HTML Coins
0
Hello, I am facing issues in removing a thin line right after the header and right before the footer. Please can you help me with this?

I have pasted the entire code.

You can also try placing the same code here: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_formatting_intro

1705418193036.png


If I change the table td, table th as below

Code:
table td, table th {
  border: 0px solid #000000;
  padding: 3px 2px;
}

Even table line gets removed.

1705418250760.png

The entire code is below

Code:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            background-color: #FFFFFF;
            font-family: Calibri;
            text-align: center;
        }

        #content {
            border: 2px solid #003B5C;
            background-color: #ffffff;
            width: 705px;
            margin: 0;
            display: inline-block;
        }

        #logo {
            margin: auto;
            width: 200px;
            height: 50px;
        }

        #header {
            font-size: 24px;
            margin: auto;
        }

        #ribbon {
            background-color: #003B5C;
        }

        #ribbonContent {
            font-size: 20px;
            padding-left: 30px;
            padding-top: 10px;
            padding-bottom: 20px;
            color: white;
            width: 100%;
            padding-right: 10px;
        }

        #message>td {
            font-size: 14px;
            padding-left: 20px;
            padding-right: 20px;
            padding-top: 20px;
            padding-bottom: 20px;
        }

        #footer>td {
            font-size: 12px;
            background-color: #cfcfcf;
            height: 40px;
            padding-top: 15px;
            padding-left: 40px;
            padding-bottom: 20px;
        }

        #form {
            width: 100%;
            border-collapse: collapse;
        }

        #app {
            width: 60%;
            font-size: 12px;
        }

        .label {
            color: #5f5f5f;
        }

        table {
            border-collapse: collapse;
            width: 100%;
        }

        th, td {
            padding: 8px;
            text-align: left;
            border-bottom: 1px solid #FFFFFF;
        }
    </style>
</head>
<body>
    <div id='content'>
        <table id='form'>
            <tr>
                <td>
                    <img src='https://demo.tutorialzine.com/2015/02/freebie-7-responsive-header-templates/' width='100%'>
                </td>
            </tr>
            <tr id='message'>
                <td>
<!-------------------------- Your message content here ------------------------------------->



<p><span style="font-size: 16px">Dear All,<br>
<br>
Please find the weekly summary of the communications regarding the Solutions below.<br>
<br>
</span><span style="font-size: 16px"><strong>Solutions</strong></span><span style="font-size: 16px"> updates<br>
<br>
</span><span style="font-size: 16px"><style>
table {
  border: 1px solid #004570;
  background-color: #FFFFFF;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
table td, table th {
  border: 1px solid #000000;
  padding: 3px 2px;
}
table tbody td {
  font-size: 13px;
}
table thead {
  background: #004570;
  border-bottom: 2px solid #444444;
}
table thead th {
  font-size: 15px;
  font-weight: bold;
  color: #FFFFFF;
  border-left: 2px solid #D0E4F5;
}
table thead th:first-child {
  border-left: none;
}
</style>
<table><thead><tr><th>Link to Item</th><th>Link to Solution File</th><th>Number</th><th>Types</th><th>Level of Availability</th></tr></thead><tbody><tr><td><a href="https://">GSS-2</a></td><td><a href="https://">GSS-2 Folder</a></td><td>systems Solution</td><td>Series ONLY</td><td>Obsolete</td></tr><tr><td><a href="https://"></a></td><td><a href=""> Folder</a></td><td>Prototype Solution</td><td>Series ONLY</td><td>NEW Addition</td></tr></tbody></table></span><span style="font-size: 16px"><br>
<br>
For more details visit the </span><a href="https://"><span style="font-size: 16px"><u><strong>Solutions</strong></u></span></a><span style="font-size: 16px"> site.<br>
</span></p>



<!-------------------------- Your message content here ------------------------------------->
                </td>
            </tr>
            <tr>
                <td>
                    <img src='https://demo.tutorialzine.com/2015/02/freebie-7-responsive-header-templates/' width='100%'>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
 

Attachments

  • 1705416565174.png
    1705416565174.png
    26.4 KB · Views: 1
Last edited:

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back