Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add class tags to header columns, similar to table columns #155

Open
wilbert-vb opened this issue Sep 9, 2022 · 1 comment
Open

Add class tags to header columns, similar to table columns #155

wilbert-vb opened this issue Sep 9, 2022 · 1 comment

Comments

@wilbert-vb
Copy link

I like to align the size and date columns to the right, while the link column aligns to the left.
This is easily to accomplish with .link{align-text:left}, .size{align-text:right} and .date{align-text:right} directives.
However, I can't accomplish that with the individual header columns?

       <tr>
          <td class="link"><a href="../">Parent directory/</a></td>
          <td class="size">-</td>
          <td class="date">-</td>
        </tr>
      <th style="width: 55%">
          <a href="?C=N&amp;O=A">File Name</a>&nbsp;<a href="?C=N&amp;O=D"
            >&nbsp;&darr;&nbsp;</a
          >
        </th>
        <th style="width: 20%">
          <a href="?C=S&amp;O=A">File Size</a>&nbsp;<a href="?C=S&amp;O=D"
            >&nbsp;&darr;&nbsp;</a
          >
        </th>
        <th style="width: 25%">
          <a href="?C=M&amp;O=A">Date</a>&nbsp;<a href="?C=M&amp;O=D"
            >&nbsp;&darr;&nbsp;</a
          >
        </th>
@ryandesign
Copy link
Contributor

See #142 where I've discussed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants