Das mit den 100 px hat nichts gebracht.
Die folgende Formatierung passt endlich für alle. Das Wichtige sind
die max-width 1100. Was ich nicht ganz versteht ist, wenn ich die 1100 auf 1200 hochsetze, dann wird
die Formatierung meines Notebooks verändert. Ich dachte der Befehl Media gilt nur für die mobilen Geräte, also
Tablets und Smartphone??
Ein weiterer Punkt ist, dass ich die Schriftgröße der Smartphones nicht verändern kann, auch wenn ich die Font-Size
auf 10 px runtersetze. Zufällig passt die Schriftgrößte aktuell ganz gut.
h1 {
line-height: 0.4em ;
color: #494949 !Important ;
}
h2 {
color: #494949 !Important ;
}
Media only screen and (max-width: 500px) {
h1 {
line-height: 0.6em !Important;
font-size: 40px;
}
}
Media only screen and (max-width: 1100px)
{
h1 {
line-height: 0.45em;
font-size: 40px; }
}