Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • typeset.sh - issues typeset.sh - issues
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Jacob Siefer
  • typeset.sh - issuestypeset.sh - issues
  • Issues
  • #161
Closed
Open
Issue created Feb 21, 2021 by Jacob Siefer@jsieferOwner

Allow background on table row elements

Expect background on table row (not overwriting cell backgrounds)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>row-background.html</title>
    <style>
        @page {
            size: 100pt 100pt;
            margin: 5pt;
        }

        html {
            font-size: 5pt;
            color: black;
        }
        table {
            border-collapse: collapse;
            border:1pt solid red;
            width: auto;
        }
        table td {
            padding: 4pt;
            border: 1pt solid black;
            line-height: 5pt;
        }
    </style>
</head>
<body>

    <table>
        <tbody>
            <tr>
                <td id="r1c1">Jacob</td>
                <td id="r1c2">Siefer</td>
                <td id="r1c3">30</td>
            </tr>
            <tr style="background: lightyellow">
                <td id="r2c1">John</td>
                <td id="r2c2" style="background: rgba(0, 0, 0, 0.2)">Smith</td>
                <td id="r2c3">35</td>
            </tr>
            <tr>
                <td id="r3c1">Marry</td>
                <td id="r3c2">Faith</td>
                <td id="r3c3">39</td>
            </tr>
        </tbody>
    </table>
</body>
</html>
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking