Alignment for ranking position in table
-
Can someone help me find the right css line to edit to align the numbered position in the Ranking table?, i.e the 1. 2. etc.
I can colour the entire table, change the text size and the alignment of the User and their Score, but can’t change the Number alignment. I have tried editing all css entries I can find. When looking at the code via a browser (Inspect Element) it doesn’t seem to be tied to any css file. It lists it as coming from “inline”:
element { width: 3em; text-align: right; }
This is what is seen in the source. The line ‘style=”width:3em; text-align: right;”>1.</td>’ is what is doing it:
<div class="entry-content clearfix"> <form class="ranking-select-form" action="https://54.218.33.100/wordpress/index.php/ranking/" method="get"><div class="ranking-select-block"><div class="league-select">Choose league: <select name="league" id="league" class="league-select"><option value="1">all users</option><option value="3" selected="selected">for free</option><option value="2">for money</option></select></div><input type="submit" name="_submit" value="go" /><input type="hidden" name="page_id" value="10" /></div></form><table class="pool-ranking ranking-page"><tr class="even currentuser"> <td <strong>style="width:3em; text-align: right;">1.</td></strong> <td><a href="https://54.218.33.100/wordpress/index.php/user/?user=1">Julian</a></td> <td class="ranking score">7</td> </tr></table> </div> <footer class="entry-meta-bar clearfix"> <div class="entry-meta clearfix"> <span class="edit-link"><a class="post-edit-link" href="https://54.218.33.100/wordpress/wp-admin/post.php?post=10&action=edit">Edit</a></span> </div> </footer> </article> </div><!-- #content -->
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Alignment for ranking position in table’ is closed to new replies.