Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 507
  • Last Modified:

overwrite a font property


how to overwrite a font property
   
and you cant change this line:
<font size="2">I want this font to be 12px</font>



reason:
I am working with alot of copy paste text and want the all the fonts to be the same
0
rgb192
Asked:
rgb192
1 Solution
 
LAMASECommented:
body * {
font-size: 12px !important;
}

Open in new window


or

font {
font-size: 12px !important;
}

Open in new window

0
 
rgb192Author Commented:
thanks
0
 
pmainardiCommented:
I think it would be wise to strip the text and then style it with CSS within its attribute tags.  It will keep your code clean.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now