my html & css: < /p>

Site1

Site2
< /code>
.imgdiv1{
float:left;
}
.imgdiv2{
float:left;
}
#On1 {
display:none;
}
#imgdiv1:hover #Off1{
display:none;
}
#imgdiv1:hover #On1{
display:block;
float:left;
}
#On2 {
display:none;
}
#imgdiv2:hover #Off2{
display:none;
}
#imgdiv2:hover #On2{
display:block;
float:left;
}
< /code>
I want all my links to be aligned horizontally on the top of my website, but it doesn't seem to work how I want it to, despite how much I've messed with margins & floats before resorting to posting on here.
Thank you everyone for your time
Подробнее здесь: https://stackoverflow.com/questions/795 ... de-in-html
Мобильная версия