trusySmummisa
New Member
I have created a jquery mobile page with a Parent div with 2 child divs. I want a back round color for the whole div. So I`ve applied the backround color to the new1 Id. But I cannot able to apply. I am attaching my code here\[code\]<div id="new1"> <div id = "c1"> Welcome </div> <div id = "c2"> <fieldset data-role="controlgroup" data-type="horizontal" data-role="fieldcontain" data-mini="true"> <label for="select-choice-1" class="select"></label> <select name="select-choice-1" id="select-choice-1" data-theme="a" > <option value="http://stackoverflow.com/questions/14599683/select">Select</option> <option value="http://stackoverflow.com/questions/14599683/approve">Approve</option> <option value="http://stackoverflow.com/questions/14599683/reject">Reject</option> </select></fieldset> </div> </div>\[/code\]CSS\[code\]#new1{background-color:#E32E18; position: relative;}#c1{ position: absolute; left:0; margin-top: 5px;margin-left:2px;}#c2{ position: absolute; right:0;}\[/code\]