From Newsgroup: alt.html
On Tue, 16 Dec 2025 22:01:48 -0500, Dale wrote:
On 12/16/2025 9:30 PM, JJ wrote:
On Tue, 16 Dec 2025 17:13:41 -0500, Dale wrote:
Can I use HTML or CSS to rotate something link a question mark
I would like to add that rotation to or by a link
"link a question mark"?
apologies ...
"like a question mark"
a 180 degree rotated question mark
Well, for a rotated question mark character, there's a Unicode character for that, as mentioned by yeti.
For any other character, image, or any content, there's a CSS solution.
e.g. 180 degree rotated "A", by rotating the content container element
itself. Note: the element must be block-based. It can not be inline.
<span style="display:inline-block; transform:rotate(180deg)">A</span>
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/transform-function/rotate
If the content is not perfectly centered in the element boundary, the rotate transformation origin should be adjusted. Otherwise, the rorated content position won't be the same as the original unrotated one.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/transform-origin
--- Synchronet 3.21a-Linux NewsLink 1.2