Hello all,
I'm using a website creation tool (called `rest2web
<http://www.voidspace.org.uk/python/rest2web/>`_) that lets me store my
content in a text based format ( `ReStructuredText
<http://docutils.sf.net>`_ and inserts the *generated* HTML into a
template.
When it creates the HTML for an image which is also a link, it
generates the following :
<a class="reference image-reference"
href="images/screenshot_big.jpg"><div align="center"
class="align-center"><img alt="Building with rest2web" class="image
align-center" src="images/screenshot.jpg" style="width: 410px; height:
308px;" /></div></a>
Once the link the image points to has been visited, the image acquires
an ugly purple border.
I'd like to change that, so I tried the following CSS (with umpteen
permutations). Firefox steadfastly ignored my efforts :
..image-reference a:visited {
text-decoration: none
border-colour: black;
}
Any hints ? Which class should I style to have the desired effect ?
Below are the other CSS rules in play, in case any are overriding :
img.align-center {
display: block;
margin: auto;
text-align: center;
}
img {
border:0;
}
I think that's it.
TIA
Fuzzyman
http://www.voidspace.org.uk/python/index.shtml