In the prior entry I discussed using an include() PHP command to use a single instance of the Spry horizontal menu on all webpages.
In addition I have switched to using Cascading Style Sheets exclusively. One item that was causing me a big of a problem was that I had one column heading style set as white on dark blue. If I tried to make that a link, it would change to the link color. The answer was to create a new style called “white”
a.white:visited {
color: #FFFFFF;
}
The when I create a column heading that is also a link I apply the style “white” and the one for the column heading as follows:
<td bgcolor=”#26354A”><div align=”center”><a class=”white” href=”http://www.sports.franzkelsch.com”><span class=”colHeading”>Introduction</span></a></div></td>
The link has both the style “white” and “colHeading”.
The later set the color for the white text on dark blue and the style “white” overrides the setting I have for the a:link style.
This file will show you what it looks like.
The column headings are white on dark blue but are still a click-able link.
Comments
Leave a comment Trackback