This topic contains a solution. Click here to go to the answer

Author Question: Which of the following is the proper way to dynamically access the border width from within the ... (Read 62 times)

tichca

  • Hero Member
  • *****
  • Posts: 554
Which of the following is the proper way to dynamically access the border width from within the script?
 
  a) document.body.style .BorderWidth
  b) document.body.attri butes.border-width
  c) document.body.style .border-width
  d) document.body.style .borderWidth

Question 2

Which of the following is the proper way to dynamically access the background color from within the script?
 
  a) document.body.style .BackgroundColor
  b) document.body.attri butes.BackgroundCol or
  c) document.body.style .backgroundColor
  d) document.body.style .background-color



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

mohan

  • Sr. Member
  • ****
  • Posts: 362
Answer to Question 1

Ans: (d)

Answer to Question 2

Ans: (c)




tichca

  • Member
  • Posts: 554
Reply 2 on: Jul 7, 2018
Gracias!


isabelt_18

  • Member
  • Posts: 342
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Human stomach acid is strong enough to dissolve small pieces of metal such as razor blades or staples.

Did you know?

Prostaglandins were first isolated from human semen in Sweden in the 1930s. They were so named because the researcher thought that they came from the prostate gland. In fact, prostaglandins exist and are synthesized in almost every cell of the body.

Did you know?

Before a vaccine is licensed in the USA, the Food and Drug Administration (FDA) reviews it for safety and effectiveness. The CDC then reviews all studies again, as well as the American Academy of Pediatrics and the American Academy of Family Physicians. Every lot of vaccine is tested before administration to the public, and the FDA regularly inspects vaccine manufacturers' facilities.

Did you know?

Only 12 hours after an egg cell is fertilized by a sperm cell, the egg cell starts to divide. As it continues to divide, it moves along the fallopian tube toward the uterus at about 1 inch per day.

Did you know?

In ancient Rome, many of the richer people in the population had lead-induced gout. The reason for this is unclear. Lead poisoning has also been linked to madness.

For a complete list of videos, visit our video library