CSS: Selector for a text that is not within a span tag

small2big

New Member
I have the following DOM structure:\[code\]<label> <select> ... </select> records at one one time</label>\[/code\]Now, I intend to hide the text \[code\]records at one time\[/code\] if the web page is viewed inside a mobile based browser using media queries. My question is how can I select the text here? Note that this DOM is automatically generated by a library (DataTables) and I have no control over it so adding a span class is not possible. I wish that for mobile browsers, only the select be shown and not the \[code\]records at one time\[/code\] - how can achieve this?
 
Top