Template talk:United States presidential election results table row

Latest comment: 3 months ago by Asdasdasdff in topic text-align

Errors

edit

@John M Wolfson, there are some errors that I'm unsure how to resolve (revert 1, 2). One is caused by ? given as a parameter (for vote count). The other is caused when all values are 0. Qwerfjkltalk 16:41, 22 April 2022 (UTC)Reply

Generates gap

edit

I've noticed that this template (along with the Head/Foot templates) causes an unattractive gap in an article's text, as if there's an extra line break in the source. Is there any way this template can be tweaked to remove the gap? (IMHO, I feel like this template should sit nicely in articles the same way images do.)--Gen. Quon[Talk] 16:40, 15 November 2022 (UTC)Reply

Ties without bolding

edit

Is there a way to mark an election as being tied without bolding the "Third party" section? For example, in the 1992 election in Ware County, Georgia, both Bush and Clinton received the same amount of votes; the year is accurately colored as purple (as the "winner" section reads "Tie"), but only the third party percentage is bolded (suggesting Perot won the county that year). Is there any way to get around or remove the bolding? Thanks! - Chaidantalk 00:08, 28 December 2023 (UTC)Reply

text-align

edit

@John M Wolfson: Since you seem to be the most active editor on this template, there seems to be an error with the formatting (text-alignment). The template seems to include "text-align:center" for all cells, but that only seems to be getting expressed on the "other party" cells. All the Dem and Rep cells seem to be expressing default (left) alignment. Personally, I think all of these cells should be right-aligned because they're numbers, but at the very least I think all these cells should have identical alignment. -- Asdasdasdff (talk) 18:17, 25 May 2024 (UTC)Reply