I have this String, that consists of HTML syntax, but there are some CSS tags also, for example :
<style type='text/css'> #gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 25%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */ </style>
And I would like to change width: 25%; to width : 100%; with the help of JSOUP. How can I access the CSS tags in String like this ?