Communities

(DEV) Codidact Meta
(DEV) Codidact Meta
(DEV) Writing
(DEV) Writing
Proposals
Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
Q&A Alignment test post

Testing making a table through the user interface using HTML rather than Markdown, so the alignment classes can be added. Centered Right aligned centered right aligned Longer t...

posted 4mo ago by trichoplax‭  ·  edited 4mo ago by trichoplax‭

Answer
#2: Post edited by user avatar trichoplax‭ · 2024-08-10T18:03:31Z (4 months ago)
  • Testing making a table through the user interface using HTML rather than Markdown, so the alignment classes can be added.
  • <table>
  • <thead>
  • <tr>
  • <th class="has-text-align-center">Centered</th>
  • <th class="has-text-align-right">Right aligned</th>
  • </tr>
  • </thead>
  • <tbody>
  • <tr>
  • <td class="has-text-align-center">centered</td>
  • <td class="has-text-align-right">right aligned</td>
  • </tr><tr>
  • <td class="has-text-align-center">Longer text to make alignement apparent</td>
  • <td class="has-text-align-right">Longer text to make alignement apparent</td>
  • </tr>
  • </tbody>
  • </table>
  • Testing making a table through the user interface using HTML rather than Markdown, so the alignment classes can be added.
  • <table>
  • <thead>
  • <tr>
  • <th class="has-text-align-center">Centered</th>
  • <th class="has-text-align-right">Right aligned</th>
  • </tr>
  • </thead>
  • <tbody>
  • <tr>
  • <td class="has-text-align-center">centered</td>
  • <td class="has-text-align-right">right aligned</td>
  • </tr><tr>
  • <td class="has-text-align-center">Longer text to make alignment apparent</td>
  • <td class="has-text-align-right">Longer text to make alignment apparent</td>
  • </tr>
  • </tbody>
  • </table>
#1: Initial revision by user avatar trichoplax‭ · 2024-08-10T17:58:40Z (4 months ago)
Testing making a table through the user interface using HTML rather than Markdown, so the alignment classes can be added.

<table>
<thead>
<tr>
<th class="has-text-align-center">Centered</th>
<th class="has-text-align-right">Right aligned</th>
</tr>
</thead>
<tbody>
<tr>
<td class="has-text-align-center">centered</td>
<td class="has-text-align-right">right aligned</td>
</tr><tr>
<td class="has-text-align-center">Longer text to make alignement apparent</td>
<td class="has-text-align-right">Longer text to make alignement apparent</td>
</tr>
</tbody>
</table>