Zitat:
Zitat von mymaksimus
wenn du fixiert halbe halbe haben willst, (zB horizontal normal und vertical fixiert) geht das nur mit javascript. Wie genau das hängt von der situtation ab.
|
Das ist Unsinn.
Probier mal das hier aus und verändere mal das Fenster:
HTML-Code:
<!DOCTYPE HTML>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>untitled</title>
<style>
#bottomfix {
position:fixed;
bottom:20px;
background-color:rgb(211,211,211);
width:80%;
left:10%;
text-align:center;
}
</style>
</head>
<body>
<p id="bottomfix">
zentriert
</p>
</body>
</html>