Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Write the JavaScript code to set the width of element to 50%;

document.getElementById('header').style.width = '50%';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Write #JavaScript #code #set #width #element
ADD COMMENT
Topic
Name
9+9 =