WMRKameleon
New Member
Goodevening!
I am building on my website and I want to make a part CSS for the inactive buttons in my menu and for the active button, when a user clicked on it and is on the corresponding part of the site.
It won't seem to work out for me, I'm looking for help. I will post the CSS belonging to the menubar here.
Now, my question is, what should I do now in my HTML so that the other image is loaded when the page is open?
I am building on my website and I want to make a part CSS for the inactive buttons in my menu and for the active button, when a user clicked on it and is on the corresponding part of the site.
It won't seem to work out for me, I'm looking for help. I will post the CSS belonging to the menubar here.
Code:
#menubalk
{
height:30px;
width:700px;
background-color:white;
font-family:"Segoe UI", sans-serif;
clear:both;
margin-left:auto;
margin-right:auto;
text-align:center;
border-bottom:solid;
}
.menuknop1
{
height:30px;
width:144px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop2
{
height:30px;
width:97px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop3
{
height:30px;
width:85px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop4
{
height:30px;
width:131px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop5
{
height:30px;
width:80px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop6
{
height:30px;
width:159px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop1:active
{
height:30px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop2:active
{
height:30px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop3:active
{
height:30px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop4:active
{
height:30px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop5:active
{
height:30px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
.menuknop6:active
{
height:30px;
background-color:white;
font-family:"Segoe UI", sans-serif;
float:left;
}
Now, my question is, what should I do now in my HTML so that the other image is loaded when the page is open?