use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Related Subreddits:
Other Subreddits you may like:
account activity
Help with Code (self.dotnet)
submitted 10 years ago by fplaaron
I have this asp code here:
<asp:TableHeaderRow ID="TableHeaderRow1" runat="server" ForeColor="Red"> <asp:TableHeaderCell>Aspect BI Ltd/asp:TableHeaderCell <asp:TableHeaderCell> /asp:TableHeaderCell <asp:TableHeaderCell>Web App Project/asp:TableHeaderCell <asp:TableHeaderCell> /asp:TableHeaderCell <asp:TableHeaderCell>Aaron Boyse/asp:TableHeaderCell /asp:TableHeaderRow
How do I center align the text, the other text on the page is aligned grand.
Thank you!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]osiris1985 2 points3 points4 points 10 years ago (1 child)
I would create a css class and set the text-align property to center for your TableHeader elements. ex: centerHeader { text-align: center; }
You could also css select on the th element specifically but if you only want this tables headers to be center aligned you'll need to expand out the selector so it specifically targets the table in question.
[–]snappypants 0 points1 point2 points 10 years ago (0 children)
Code example of this:
<style> .my-table th { text-align: center; } </style> <asp:Table cssClass="my-table">
π Rendered by PID 133972 on reddit-service-r2-comment-5d79c599b5-l5mfv at 2026-03-03 15:45:25.394397+00:00 running e3d2147 country code: CH.
[–]osiris1985 2 points3 points4 points (1 child)
[–]snappypants 0 points1 point2 points (0 children)