Applying CSS styles to all elements inside a DIV

zookWooview

New Member
I would like to apply a CSS file to a concrete DIV in my page. This is the page structure:\[code\]<link rel="stylesheet" href="http://stackoverflow.com/questions/15901522/style.css" />...<body> <div id="pagina-page" data-role="page"> ... <div id="applyCSS"> (all the elements here must follow a concrete CSS rules) </div> ...</body>\[/code\]I tried to apply the rules of the CSS file editing it like this (the CSS file is so large):\[code\]#applyCSS * { (For all the elements inside "applyCSS" DIV:) .ui-bar-a { ... ... } .ui-bar-a .ui-link-inherit { ... } ...}\[/code\]But that solution doesn't work. So, how can I do that?Thank you very much!
 
Top