Unstoppable Domains โ€” Expired Auctions

Font Sizes

SpaceshipSpaceship
Watch

beaver6813

Established Member
Impact
16
Hey,

I'm just curious as to how i should code my font-sizes in CSS, using:

10em or whatever OR to just use 10px, which is more accessible and what is the best way to code this? I just wanna know how to make my CSS even better :D
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
I used to use em, until I noticed it was relative:

Code:
<div style="font-size:10em">
Text is bigger in here
<span style="font-size:10em">than in here</span>
</div>

Or at least, it's relative in Opera. So now I always use px sizes.
 
0
•••
Right, so i should stay with px :) I noticed with em you can't change the font size :-/ Well as far as i can tell anyways, anyone else got any other opinions?
 
0
•••
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Zero Commission
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back