Formatting

This commit is contained in:
Imbus 2023-11-01 10:53:05 +01:00
parent c110336ab1
commit 51120ac303

View file

@ -1,4 +1,5 @@
<html><script> <html>
<script>
function expand() { document.getElementById("bar").style.height = "100%"; } function expand() { document.getElementById("bar").style.height = "100%"; }
function collapse() { document.getElementById("bar").style.height = "0px"; } function collapse() { document.getElementById("bar").style.height = "0px"; }
function myFunction() { function myFunction() {
@ -7,14 +8,29 @@ function myFunction() {
} }
</script> </script>
<LINK href="style.css" rel="stylesheet" type="text/css"> <LINK href="style.css" rel="stylesheet" type="text/css">
<title>TC Automotives</title><style> <title>TC Automotives</title>
#b1:hover { background-image:url("resources/car.png");}
#b2:hover { background-image:url("resources/sketch.png");} <style>
#b3:hover { background-image:url("resources/cogs.png");} #b1:hover {
#b4:hover { background-image:url("resources/track.png");} background-image: url("resources/car.png");
}
#b2:hover {
background-image: url("resources/sketch.png");
}
#b3:hover {
background-image: url("resources/cogs.png");
}
#b4:hover {
background-image: url("resources/track.png");
}
</style> </style>
<body> <body>
<div id="menu"><div id="buttonholder"> <div id="menu">
<div id="buttonholder">
<div id="b1" class="button" onclick="myFunction()">Models</div> <div id="b1" class="button" onclick="myFunction()">Models</div>
<div id="b2" class="button" onclick="myFunction()">Design</div> <div id="b2" class="button" onclick="myFunction()">Design</div>
<div id="b3" class="button" onclick="myFunction()">Details</div> <div id="b3" class="button" onclick="myFunction()">Details</div>
@ -39,4 +55,5 @@ function myFunction() {
</div> </div>
</div> </div>
</body> </body>
</html> </html>