<!DOCTYPE html>
<html>
<body>
<header style="display: inline"><h1><a href="index.html">:::Lorem ipsum dolor sit amet</a></h1>
<nav>
<ul>
<li><a href="kontakt.html" title="Kontakt informacije">Kontakt Informacije</a></li>
<li><a href="galerija.html" title="Galerija slika">Galerija slika</a></li>
<li id="empty"><a href="onama.html" title="O nama">O nama</a></li>
</ul>
</nav>
</header>
</body>
</html>
Although <header style="display: inline">
, the <h1>
element is not aligned with the <ul>
element, but rather <ul>
element is placed beneath <h1>
. Tried <header style="display: inline-block">
, but to no avail. Shouldn't display: inline
property align items in line?
` and two closings for ``
– T J Jul 05 '14 at 17:20