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

Fix: comment delete confirmation alignment issue. #44

Open
markbranly opened this issue Apr 5, 2024 · 0 comments
Open

Fix: comment delete confirmation alignment issue. #44

markbranly opened this issue Apr 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@markbranly
Copy link
Owner

a comment delete form aligned to the far left

Here is the relevant markup:

<html lang="en" op="delete-confirm">
  <body>
    <center>
      <table
        id="hnmain"
        border="0"
        cellpadding="0"
        cellspacing="0"
        width="85%"
        bgcolor="#f6f6ef"
      >
        <tbody>
          <tr>
            <td bgcolor="#ff6600">
              <table
                border="0"
                cellpadding="0"
                cellspacing="0"
                width="100%"
                style="padding: 2px"
              >
                <tbody>
                  <tr>
                    <td style="width: 18px; padding-right: 4px">
                      <a href="https://news.ycombinator.com"
                        ><img
                          src="y18.svg"
                          width="18"
                          height="18"
                          style="border: 1px white solid; display: block"
                      /></a>
                    </td>
                    <td style="line-height: 12pt; height: 10px">
                      <span class="pagetop"><b>Confirm</b></span>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
          <tr id="pagespace" title="Confirm" style="height: 10px"></tr>
          <tr>
            <td></td>
          </tr>
          <tr>
            <td>
              <table border="0">
                <tbody>
                  <tr class="athing" id="123456789">
                    <td class="ind"></td>
                    <td valign="top" class="votelinks">
                      <center>
                        <font color="#ff6600">*</font><br />
                        <img src="s.gif" height="1" width="14" />
                      </center>
                    </td>
                    <td class="default">
                      <div style="margin-top: 2px; margin-bottom: -10px">
                        <span class="comhead">
                          <span class="score" id="score_123456789">1 point</span>
                          by
                          <a href="user?id=username" class="hnuser"
                            >username</a
                          >
                          <span class="age" title="2024-04-05T12:57:52"
                            ><a href="item?id=123456789">10 minutes ago</a></span
                          >
                          <span id="unv_123456789"></span>
                          <span class="navs">
                            | <a href="item?id=123456788">parent</a> |
                            <a href="context?id=123456789" rel="nofollow"
                              >context</a
                            >
                            | <a href="edit?id=123456789">edit</a> |
                            <a
                              href="delete-confirm?id=123456789&amp;goto=delete-confirm%3Fid%3D123456789%26goto%3Dedit%253Fid%253D123456789"
                              >delete</a
                            ><span class="onstory">
                              | on:
                              <a href="item?id=123456787"
                                >Ask HN: Can someone with enough Karma to
                                downvote ...</a
                              ></span
                            >
                          </span>
                        </span>
                      </div>
                      <br />
                      <div class="comment">
                        <span class="commtext c00"></span>
                        <div class="reply"></div>
                      </div>
                    </td>
                  </tr>
                  <tr style="height: 20px"></tr>
                  <tr>
                    <td colspan="2"></td>
                    <td>
                      <form action="/xdelete" method="post">
                        <input type="hidden" name="id" value="123456789" /><input
                          type="hidden"
                          name="goto"
                          value="edit?id=123456789"
                        /><input
                          type="hidden"
                          name="hmac"
                          value="248bded77ce77c07d39432e6601bf01b279e7e67"
                        />Do you want this to be deleted?<br /><br />
                        <input type="submit" name="d" value="Yes" />&nbsp;<input
                          type="submit"
                          name="d"
                          value="No"
                        />
                      </form>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </center>
  </body>
</html>
@markbranly markbranly added the bug Something isn't working label Apr 5, 2024
@markbranly markbranly added this to the Design Prototype milestone Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant