My client wants every list of links, i.e. each form list
<ul>
<li>
<a href="www.google.com">Here a link</a>
</li>
<li>
<a href="www.google.com">Here a link</a>
</li>
<li>
<a href="www.google.com">Here a link</a>
</li>
</ul>
so that the bullets of the list are the same color as the linked text, but each list is without links, that is, each list of the form
<ul>
<li>Here a regular list item</li>
<li>Here a regular list item</li>
<li>Here a regular list item</li>
</ul>
must have its bullets and the corresponding text as usual.
Fiddle: http://jsfiddle.net/0kkc2rz4/
I am limited to not being able to add classes to HTML, so something like
<ul class='link-list'>
<li>
<a href="www.google.com">Here a link</a>
</li>
<li>
<a href="www.google.com">Here a link</a>
</li>
<li>
<a href="www.google.com">Here a link</a>
</li>
</ul>
ul.link-list li { color: #004E98; }
there can be no question, although I understand that, obviously, the best way to do this is if I encoded the site from scratch. I can add JS, but would prefer not to.
source
share