so wie meine Beispiel-1.phphave…
<?php
header("Content-Type: text/html; Charset=utf-8");
mb_internal_encoding('UTF-8');
date_default_timezone_set('UTC');
error_reporting(E_ALL);
?>
<!doctype html>
<html lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>taste-2</title>
<style>
/* links probe */
nav link_wechsel, ul {
list-style-type: none;
}
nav link_wechsel, a {
display: inline;
text-decoration: none;
border: 1px solid gray;
background-color: #FE2E64;
color: black;
padding: 8px;
opacity: 0.5;
font-family: Times New Roman;
}
nav a:hover {
background-color: #9f9e9e;
}
nav link_wechsel, li[aria-current=page]{
margin-left: 390px;
color: blue;
}
nav link_wechsel, ul {
margin-left: 340px;
}
</style>
</head>
<body>
<h3>Page 1</h3>
<nav class="link_wechsel">
<h2 class="visually-hidden">Page navigation</h2>
<ul>
<li><a href="Beispiel-1.php">1</a></li>
<li><a href="Beispiel-1.php">2</a></li>
<li><a aria-current="page" tabindex="0">2</a></li>
</ul>
</nav>
</body>
</html>
und das was ich bekomme..
was ich nicht verstehe warum bekomme mein Display , in Block , wenn ich habe display: inline ...