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 Topics Snippets
  • Register
  • Sign in
  • 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
  • #174
Closed
Open
Issue created Apr 20, 2021 by Jacob Siefer@jsieferOwner

Layout - ListItem

Pointed out by @andreas_zettl - list items as float don't align correctly.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>left-right.html</title>
    <style>
        @page {
            size: 200px 200px;
            margin: 5px;
        }

        html {
            font-size: 12px;
            color: black;
        }

        li:nth-child(2n+1) {
            float:left;
            width: 50%;
            clear: left;
            background: #dedeb8;
        }

    </style>
</head>
<body>

    <ol>
        <li>test</li>
        <li>test</li>
        <li>test</li>
        <li>test</li>
        <li>test</li>
        <li>test</li>
        <li>test</li>
        <li>test</li>
        <li>test</li>
        <li>test</li>
    </ol>

</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