Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Dann musst du der Überschrift aber auch eine Breite geben, damit sie sich zentrieren kann.
Mit Css.Wie gibt man einer Überschrift eine Breite ?
Passt super
720px passt auf jeden fall perfektCode:h1 { margin:0 auto; width:720px; }
Mit dem >H2< und >p< klappt das auch super
Danke Peter
width:60em;
background-color:#f00;
Wen ich das angebe wird die Seite einafch nur breiten (Fast doppelt so Breit)
Code:h1 { margin:0 auto; width:60em; }
body {
font-size:14px;
}
h1 {
font-size:1.5em;
}
body {
font-size:14px;
background-image: url("Rote Explosion.png");
}
a:hover {
color: red;
font-style: italic;
}
h1 {
background-color:#f00;
font-size:1.5em;
}
h2 {
margin:0 auto;
width:150px;
}
p {
margin:0 auto;
width:900px;
}
a {
margin:0 auto;
width:100px;
}
Ja jetzt ist alles ein bisschen kleiner geworden und die Überschrift hatt einen Hintergrund ist aber immernoch Links
Hier nochmal mein CSS Code
Code:body { font-size:14px; background-image: url("Rote Explosion.png"); } h1 { background-color:#f00; font-size:1.5em; }
Jein.Kan man sagen wieviel eine Webseite hatt also der Ganze Feld ?