anonymous
  • anonymous
Consider the following CSS validation error: Line 9, body: Value Error: font-size Unknown dimension 100pct body { font-family: Arial, Helvetica, sans-serif; font-size: 100pct; } Based on this information, what should you do to fix the problem?
Computer Science
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions.

anonymous
  • anonymous
Consider the following CSS validation error: Line 9, body: Value Error: font-size Unknown dimension 100pct body { font-family: Arial, Helvetica, sans-serif; font-size: 100pct; } Based on this information, what should you do to fix the problem?
Computer Science
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
. Ignore this warning; if it looks good in your browser, then it should look good in anyone's browser. Save and retest. b. Go to Line 9 in your source code to inspect the problem manually. c. Find a font-size dimension that is standards compliant. Save and retest. d. Both go to Line 9 in your source code to inspect the problem manually and find a font-size dimension that is standards compliant. Save and retest. e. None of these
anonymous
  • anonymous
jim_thompson5910
  • jim_thompson5910
When I searched around, I found every example having 100% and not 100 pct the difference being how they wrote percent

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

jim_thompson5910
  • jim_thompson5910
so I'm not sure if pct is even allowed in css
anonymous
  • anonymous
its E pct stands for nothing in html
jim_thompson5910
  • jim_thompson5910
so HTML ignores pct? and just thinks it's 100 px? Or 100 pt?
anonymous
  • anonymous
yea but it says css so idk
jim_thompson5910
  • jim_thompson5910
CSS is a subset of HTML
jim_thompson5910
  • jim_thompson5910
you use CSS to define font sizes, spacing, position, alignment, etc in an HTML document
anonymous
  • anonymous
absolute units (cm, mm, in, pt and pc) mean the same in CSS as everywhere else i see no pct
jim_thompson5910
  • jim_thompson5910
yeah so I think the proper fix is to turn "100pct" into "100%"
anonymous
  • anonymous
what letter is that ?
jim_thompson5910
  • jim_thompson5910
cm = centimeter mm = millimeter pt = point pc = pica
jim_thompson5910
  • jim_thompson5910
give it a shot and tell me what you think
anonymous
  • anonymous
pct could equal percent
jim_thompson5910
  • jim_thompson5910
pct doesn't work when I try it, so it's not defined in CSS
jim_thompson5910
  • jim_thompson5910
try it through here http://www.w3schools.com/cssref/tryit.asp?filename=trycss_font-size
anonymous
  • anonymous
so i was right the answer is E
jim_thompson5910
  • jim_thompson5910
no
jim_thompson5910
  • jim_thompson5910
like I said, pct is NOT defined
jim_thompson5910
  • jim_thompson5910
the browser doesn't know how to render it
anonymous
  • anonymous
sooo C
jim_thompson5910
  • jim_thompson5910
why C?
anonymous
  • anonymous
wait wait D its d
jim_thompson5910
  • jim_thompson5910
why?
anonymous
  • anonymous
cause u have to find the font size dimension and manually put it in
jim_thompson5910
  • jim_thompson5910
yeah go to line 9, change to 100% or something like 14px or 12pt
anonymous
  • anonymous
so it is D!!!
jim_thompson5910
  • jim_thompson5910
yep
anonymous
  • anonymous
bam ur awesome
jim_thompson5910
  • jim_thompson5910
thanks lol

Looking for something else?

Not the answer you are looking for? Search for more explanations.