#Css not loading properly with PHP
12 messages · Page 1 of 1 (latest)
Thanks for your question :clap:, if someone gives you an answer it would be great if you thanked them with a :white_check_mark: in response. This response will earn you both points for special roles on this server.
console.debug('Onboarding Complete!') @rustic river has completed their initial training and earned <@&1244333098284351518>!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Virtual Trader</title>
<link rel="icon" type="image/x-icon" href="./images/favicon.ico">
</head>
<body>
<header>
<nav>
<h1>Profil</h1>
<ul>
<li><a href="succes.html">Home</a></li>
<li><a href="description.html">Description</a></li>
<li><a href="Profil.html">Profil</a></li>
<li><a href="Top_joueurs.html">Top Joueurs</a></li>
<li><a href="logout.html">Logout</a></li>
</ul>
</nav>
</header>
<main>
</main>
<footer>
<p>© 2025 Virtual Trader. All rights reserved.</p>
</footer>
</body>
</html>
the html code
nav ul{
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
nav li {
margin: 0;
}
nav{
display: block;
width: 100%;
}
.Header{
background-color: #333;
width: auto;
margin-top:-8px;
padding:0;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #111;
}
.Header h1{
text-align: center;
color: white;
padding: 15px 0;
margin: 0
}
body {
margin:0;```
the css
It should be a xampp problem
I had problems with xampp so I reinstalled it
But the css doesn’t show even when I open the file directly from the browser
check for errors then
There are none that shows