398358
results for ""a""
-
For HTML though, I'm not sure I understand the issue you're running into. You want to set a font size based on the container size?
[Murray]
at
2026-08-24 15:55
-
parent height in this case is how many pixels the parent represents, not necessarily the amount of pixels the image takes up on a screen or the actual size of the image
ruecharli
at
2026-08-24 15:52
-
yeah, im going to have to let that one go. but im also having lots of issues with getting the font size right. it needs to scale with the rest of the site, but if i had a 10px tall font for example and wanted to scale it to an image with a height that represents 20px, making the font size half of that images height doesnt work. it worked for the
ruecharli
at
2026-08-24 15:51
-
small font with a line height of 8 pixels, like 8/(parent height)*100cqi, but it isnt working for the bigger fonts !! still anti-aliasing and still too big or small! agdskhjlkfdjs
ruecharli
at
2026-08-24 15:51
-
I wouldn't worry too much about half-pixel alignments (could be anti-aliasing or font smoothing or even how a browser defines a "pixel"), that way madness lies. The web isn't a fixed medium, so "pixel perfect" will always be a lie somewhere 😉
[Murray]
at
2026-08-24 15:43
-
this small pixel font is mostly fine, but none of the larger ones work. oh, and, it is vertically misaligned by half a pixel on some browsers. WHY https://lounge.zomboid.pro/uploads/c8faf67356243e08/image.png
ruecharli
at
2026-08-24 15:40
-
Well, the entire article describes how you can't just scale pixels and still have a pixel style (art or font). 🤷
[Trevor_Morris]
at
2026-08-24 13:15
-
that was the thing with fonts back then yeah; every size, every weight, every variation, needs their own separate file, thus a font file can quickly bloat out in storage since you have to store so many of them.
fafau06
at
2026-08-24 12:50
-
i'm on https://aftertaf.social as a (newly build WIP) hub and have a blog of sorts that i'm attempting to bridge into Fediverse at https://aftertaf.mont-gargan.fr
aftertaf.
at
2026-08-24 12:41
-
also a website for my band, https://theknowingbelievers.com .
aftertaf.
at
2026-08-24 12:41
Sort by:
Filter results by:
Tag
Query took 0.01s.
Search tips
- Exclusion
- +foo -bar
- Logical OR
- foo OR bar
- Exact phrase
- "foo bar"
- Partial words
- foo*
- Particular fields only
- title:foo
- domain:example.org
- nick:somebody
- after:2016-11-23
- before:2016-11-23
- date:2016-11-23