SyntaxFix
Write A Post
Hire A Developer
Questions
Using the width function:
$('div#somediv').width('70%');
will turn:
<div id="somediv" />
into:
<div id="somediv" style="width: 70%;"/>