xdous
10-18-2007, 04:29 PM
Today i have been making a new website and i have created some css tabs user images.
The first problem is in firefox when you click the tab to activate it, it does not turn black like its supposed when in IE it works fine. Im assume there is something missing from the active link coding.
Secondly how do i make the Home page tab black(active) when you first go to browse website.
Please see link http://outdoor-signs.co.uk/
Here is my css code for the links:
a {
width: 78px;
height: 48px;
display: block;
background-image: url(images/navigation_top_04.jpg);
}
a:hover {
width: 78px;
height: 48px;
background-image: url(images/navigation_top_03.jpg);
}
a:active {
width: 78px;
height: 48px;
background-image: url(images/navigation_top_03.jpg);
}
The first problem is in firefox when you click the tab to activate it, it does not turn black like its supposed when in IE it works fine. Im assume there is something missing from the active link coding.
Secondly how do i make the Home page tab black(active) when you first go to browse website.
Please see link http://outdoor-signs.co.uk/
Here is my css code for the links:
a {
width: 78px;
height: 48px;
display: block;
background-image: url(images/navigation_top_04.jpg);
}
a:hover {
width: 78px;
height: 48px;
background-image: url(images/navigation_top_03.jpg);
}
a:active {
width: 78px;
height: 48px;
background-image: url(images/navigation_top_03.jpg);
}