bigbird3156
Programmer
Hi,
I have created a standard html page using CSS...
In the page I have put some href links that reference points further down in the page using name tags <a name="tag1">
I have then created some CSS behaviours for the links to hide the underline, change link colors etc...
The problem I am having is that both the actual href links and the text below the name tags both change colors etc when they are rolled over. obviously I only want the links to do this ... any suggestions on how to fix this???
Here is some of the code to hopefully explain things better:
CSS:
#wrapper #main a {
color: #FFF;
text-decoration: none;
}
#wrapper #main a:hover {
color: #666;
text-decoration: underline;
}
#wrapper #main a:visited {
color: #FFF;
text-decoration: none;
}
HTML:
<ul>
<li><strong>
Option 1</strong>: <a href="#delivery">Delivery Catering</a> – Bulk orders delivered to your door.</li>
<li><strong>Option 2</strong>: <a href="#classic">Classic Catering</a> – We cook on site, serve the food and do the dishes.</li>
<li><strong>Option 3</strong>: <a href="#corporate">$10 Corporate Meal Deal</a> – Great prices for large groups.</li>
</ul>
............
<a name="delivery">
<h3>
Delivery Catering: <br /></h3>
Ideal for those who just want the food delivered to your door.<p>
...................
<a name="classic">
Classic Catering:</h3>
<p>
We come to you, and cater a delicious Burmese feast for just about any function you can imagine:<p>
.......................
<a name="corporate">
<h3>
$10 Corporate Meal Deal:</h3>
<p>
The $10 Corporate Meal Deal is designed for those times when you have a large group of people attending a seminar, conference or workplace meeting and you want to feed them a simple, but delicious meal.<p>
........................
I hope that helps.
The Bird from Down Under- Bigbird 3156
I have created a standard html page using CSS...
In the page I have put some href links that reference points further down in the page using name tags <a name="tag1">
I have then created some CSS behaviours for the links to hide the underline, change link colors etc...
The problem I am having is that both the actual href links and the text below the name tags both change colors etc when they are rolled over. obviously I only want the links to do this ... any suggestions on how to fix this???
Here is some of the code to hopefully explain things better:
CSS:
#wrapper #main a {
color: #FFF;
text-decoration: none;
}
#wrapper #main a:hover {
color: #666;
text-decoration: underline;
}
#wrapper #main a:visited {
color: #FFF;
text-decoration: none;
}
HTML:
<ul>
<li><strong>
Option 1</strong>: <a href="#delivery">Delivery Catering</a> – Bulk orders delivered to your door.</li>
<li><strong>Option 2</strong>: <a href="#classic">Classic Catering</a> – We cook on site, serve the food and do the dishes.</li>
<li><strong>Option 3</strong>: <a href="#corporate">$10 Corporate Meal Deal</a> – Great prices for large groups.</li>
</ul>
............
<a name="delivery">
<h3>
Delivery Catering: <br /></h3>
Ideal for those who just want the food delivered to your door.<p>
...................
<a name="classic">
Classic Catering:</h3>
<p>
We come to you, and cater a delicious Burmese feast for just about any function you can imagine:<p>
.......................
<a name="corporate">
<h3>
$10 Corporate Meal Deal:</h3>
<p>
The $10 Corporate Meal Deal is designed for those times when you have a large group of people attending a seminar, conference or workplace meeting and you want to feed them a simple, but delicious meal.<p>
........................
I hope that helps.
The Bird from Down Under- Bigbird 3156