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 19 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
:D TYSM


coreycathey

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

 

Did you know?

Russia has the highest death rate from cardiovascular disease followed by the Ukraine, Romania, Hungary, and Poland.

Did you know?

A serious new warning has been established for pregnant women against taking ACE inhibitors during pregnancy. In the study, the risk of major birth defects in children whose mothers took ACE inhibitors during the first trimester was nearly three times higher than in children whose mothers didn't take ACE inhibitors. Physicians can prescribe alternative medications for pregnant women who have symptoms of high blood pressure.

Did you know?

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

Did you know?

Asthma cases in Americans are about 75% higher today than they were in 1980.

Did you know?

Nitroglycerin is used to alleviate various heart-related conditions, and it is also the chief component of dynamite (but mixed in a solid clay base to stabilize it).

For a complete list of videos, visit our video library