Hallo Christian,
width: 100%px;
^^^ was ist das?
Upps, ein Syntaxfehler (schlamiges search & replace)
Was spricht gegen diese Variante:
hr {
width: 100%;
height: 1px;
color: transparent;
background: transparent;
border-top: 1px solid #036;
border-bottom: 1px solid #036;
}
?
Wird bei mir inkonsistent angezeigt (1 graues Pixel, wahlweise rechts, links, oder gar nicht - getestet mit Gecko/KHMTL/IE. Die <hr> ist außerdem immer mind. 1px zu dick (workarounds mit <hr noshade> zeigen keine Wirkung). Ich weiß zwar, das ich die <hr> im .html passend formatieren könnte, allerdings will ich bei diesem Privat-Projekt konsequent alle Layoutelemente im .css haben. Dieser Philosophie würde übrigens m.E. eine <hr noshade> widersprechen.
Viele Grüße,
Stefan