A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • one year ago

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?

  • This Question is Closed
  1. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    . 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

  2. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @jim_thompson5910

  3. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    When I searched around, I found every example having 100% and not 100 pct the difference being how they wrote percent

  4. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    so I'm not sure if pct is even allowed in css

  5. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    its E pct stands for nothing in html

  6. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    so HTML ignores pct? and just thinks it's 100 px? Or 100 pt?

  7. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    yea but it says css so idk

  8. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    CSS is a subset of HTML

  9. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    you use CSS to define font sizes, spacing, position, alignment, etc in an HTML document

  10. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    absolute units (cm, mm, in, pt and pc) mean the same in CSS as everywhere else i see no pct

  11. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    yeah so I think the proper fix is to turn "100pct" into "100%"

  12. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    what letter is that ?

  13. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    cm = centimeter mm = millimeter pt = point pc = pica

  14. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    give it a shot and tell me what you think

  15. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    pct could equal percent

  16. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    pct doesn't work when I try it, so it's not defined in CSS

  17. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    try it through here http://www.w3schools.com/cssref/tryit.asp?filename=trycss_font-size

  18. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    so i was right the answer is E

  19. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    no

  20. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    like I said, pct is NOT defined

  21. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    the browser doesn't know how to render it

  22. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    sooo C

  23. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    why C?

  24. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    wait wait D its d

  25. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    why?

  26. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    cause u have to find the font size dimension and manually put it in

  27. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    yeah go to line 9, change to 100% or something like 14px or 12pt

  28. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    so it is D!!!

  29. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    yep

  30. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    bam ur awesome

  31. jim_thompson5910
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    thanks lol

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

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.