Hello!
I am turning some text into links in Dreamweaver CS6, but for some reason, one of the links font color is turning transparent! Both text links are coded the exact same and have the same CSS commands. When I take off the link <a> of the transparent word, it shows up again, so clearly something is not happy about the one link. Please help! This is driving me crazy!
you can see what I'm talking about here:
http://sb3m.com/mindhandle/mainIndex.html
Looking forward to getting this solved.
-Casey
Fix these errors http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fsb3m.com%2Fmi ndhandle%2FmainIndex.html first. Then come back here with the remaining problem(s).
Gramps
What is this about?
Your page is coded to end here
</body>
</html>
but you have this stuff following the end of the page
/a></div>
<div id="rightBrain1" class="mainFont"><a href="rightBrainIndex.html">RIGHT MIND</a></div>
</body>
</html>
id="mainWrapper1"><img src="Images/correctLogo.png" id="mainLogo" width="300" height="300" alt="Mindhandle logo"></div>
<div id="leftBrain1" class="mainFont"><a href="leftIndex.html" class="transition"><font color="#666">LEFT BRAIN</font></a></div>
<div id="rightBrain1" class="mainFont"><a href="rightBrainIndex.html" class="transition">RIGHT MIND</a></div>
</body>
</html>
Ken,
I just saw that myself. That is not my code! It is old code that must have been added in there from the person who uploaded the site. Here is my code I am going off of:
</head>
<body>
<div class="container">
<div class="content">
<p id="leftBrain1" class="mainFont"><a href="leftIndex.html">LEFT BRAIN</a></p>
<img src="Images/correctLogo.png" alt="mindhandle logo" id="mainLogo">
<p id="rightBrain1" class="mainFont"><a href="rightBrainIndex.html">RIGHT MIND</a></p>
</div>
</div>
</body>
</html>
Okay, sorry for the long wait. Here is the correct version.
http://www.sb3m.com/mindhandle/mainIndex1.html
I will also say that when I take away the <a> link tag on the "left brain" <p> the font color returns, but as soon as I add the link to it, the font becomes transparent.
-Casey
Validating youe CSS comes up with 33 warnings about same color text as background.
Perhaps if you were to review the list you might spot something amiss.
If I recall you used a two-color BG image. and might not need a BG color
| 16 | Same colors for color and background-color in two contexts body and #leftBrain1 a:link | |
| 16 | Same colors for color and background-color in two contexts html and #leftBrain1 a:link | |
| 16 | Same colors for color and background-color in two contexts body and a:visited | |
| 16 | Same colors for color and background-color in two contexts html and a:visited | |
| 20 | Same colors for color and background-color in two contexts body and #rightBrain1 a:link | |
| 20 | Same colors for color and background-color in two contexts body and a:visited | |
| 65 | Same colors for color and background-color in two contexts body and #leftBrain1 | |
| 65 | Same colors for color and background-color in two contexts html and #leftBrain1 | |
| 75 | Same colors for color and background-color in two contexts body and #rightBrain1 | |
| 91 | Same colors for color and background-color in two contexts body and #leftBrain1 a:link | |
| 91 | Same colors for color and background-color in two contexts html and #leftBrain1 a:link | |
| 91 | Same colors for color and background-color in two contexts body and a:visited | |
| 91 | Same colors for color and background-color in two contexts html and a:visited | |
| 95 | Same colors for color and background-color in two contexts body and #rightBrain1 a:link | |
| 95 | Same colors for color and background-color in two contexts body and a:visited | |
| 132 | Same colors for color and background-color in two contexts body and #leftBrain1 | |
| 132 | Same colors for color and background-color in two contexts html and #leftBrain1 | |
| 142 | Same colors for color and background-color in two contexts body and #rightBrain1 | |
| 159 | Same colors for color and background-color in two contexts body and #leftBrain1 a:link | |
| 159 | Same colors for color and background-color in two contexts html and #leftBrain1 a:link | |
| 159 | Same colors for color and background-color in two contexts body and a:visited | |
| 159 | Same colors for color and background-color in two contexts html and a:visited | |
| 163 | Same colors for color and background-color in two contexts body and #rightBrain1 a:link | |
| 163 | Same colors for color and background-color in two contexts body and a:visited | |
| 181 | Same colors for color and background-color in two contexts body and body | |
| 181 | Same colors for color and background-color in two contexts html and body | |
| 201 | Same colors for color and background-color in two contexts body and #leftBrain1 | |
| 201 | Same colors for color and background-color in two contexts html and #leftBrain1 | |
| 210 | Same colors for color and background-color in two contexts body and #rightBrain1 | |
| 226 | Same colors for color and background-color in two contexts body and #leftBrain1 a:link | |
| 226 | Same colors for color and background-color in two contexts html and #leftBrain1 a:link | |
| 226 | Same colors for color and background-color in two contexts body and a:visited | |
| 226 | Same colors for color and background-color in two contexts html and a:visited |
North America
Europe, Middle East and Africa
Asia Pacific