scribe
05-20-2003, 03:30 PM
Sorry if this is in wrong place, hoping to get quick answer.
Been playing with this all day and getting nowhere fast...
Background: web site will have a lot of older folk so, old versions of browsers are important (read NN 4.x). Site is about Real Estate so lots of pictures many of which are links.
That said
Here's what I'm trying to do:
pictures that aren't links have a white border
pictures that are links have either the same link colors as the text or are always one of the link colors.
What I get is...
Opera: The non-links are white, links stay one color.
IE: The non-links are white, links stay one color.
NN: The links follow the settings for text links, the non-links have no border, but have this rediculous little white box underneath the image (probably 2X2).
Any ideas? Here's some of the code.
CSS in a seperate file is:
a:link { color: #ccffcc; text-direction:none; font-weight: bold; font-size: 9pt; font-family: Arial; white-space: nowrap }
a:visited { color: #99cccc; text-direction:none; font-weight: bold; font-size: 9pt; font-family: Arial; white-space: nowrap }
a:hover { color: #336666; font-size: 9pt; background-color: #ccffcc; white-space: nowrap }
img.links { border-color: #336666; border-style: solid; border-width: 2pt; }
img.nolinks { border-color: #ffffff; border-style: solid; border-width: 2pt; }
HTML is:
<a href="listings/37422/37422.html"><img src="listings/37422/front_50.jpg" width="320" height="240" alt="" class="links"></a><br>
<img src="listings/33628/view_50.jpg" width="320" height="240" alt="" class="nolinks" ><br>
Anyone know how to get rid of the !@$^##@% little white box?
What am I missing here?
Trying to avoid tables and java if possible. Not sure if I shouldn't just put this mess in a table with appropriate colored backgrounds, but this page already has way too many tables.
Thanks in advance.
scribe
Been playing with this all day and getting nowhere fast...
Background: web site will have a lot of older folk so, old versions of browsers are important (read NN 4.x). Site is about Real Estate so lots of pictures many of which are links.
That said
Here's what I'm trying to do:
pictures that aren't links have a white border
pictures that are links have either the same link colors as the text or are always one of the link colors.
What I get is...
Opera: The non-links are white, links stay one color.
IE: The non-links are white, links stay one color.
NN: The links follow the settings for text links, the non-links have no border, but have this rediculous little white box underneath the image (probably 2X2).
Any ideas? Here's some of the code.
CSS in a seperate file is:
a:link { color: #ccffcc; text-direction:none; font-weight: bold; font-size: 9pt; font-family: Arial; white-space: nowrap }
a:visited { color: #99cccc; text-direction:none; font-weight: bold; font-size: 9pt; font-family: Arial; white-space: nowrap }
a:hover { color: #336666; font-size: 9pt; background-color: #ccffcc; white-space: nowrap }
img.links { border-color: #336666; border-style: solid; border-width: 2pt; }
img.nolinks { border-color: #ffffff; border-style: solid; border-width: 2pt; }
HTML is:
<a href="listings/37422/37422.html"><img src="listings/37422/front_50.jpg" width="320" height="240" alt="" class="links"></a><br>
<img src="listings/33628/view_50.jpg" width="320" height="240" alt="" class="nolinks" ><br>
Anyone know how to get rid of the !@$^##@% little white box?
What am I missing here?
Trying to avoid tables and java if possible. Not sure if I shouldn't just put this mess in a table with appropriate colored backgrounds, but this page already has way too many tables.
Thanks in advance.
scribe
