Salvete,
manchmal scheitere ich echt noch an den Grundsaetzen!
Kann mir mal bitte einer erklaeren, warum sich das Padding
auf die Breite auswirkt bzw. warum es sich additiv verhaelt?
Ich meine, das Padding bestimmt doch den _Innen_abstand..
beim Margin kann ich es ja verstehen.
<HTML>
<HEAD>
<style type="text/css">
label.headline2 {
border:1px solid red;
display:block;
padding-right:40px;
width:100%;
}
</style>
</HEAD>
<BODY>
<label class="headline2"> Testlabel </label>
</BODY>
</HTML>
Das Lebel geht ueber den Bildschirmrand hinaus. Das moechte ich
jedoch nicht.
Gruss & Danke.
MfG,
Sympatisant
--
"Non dura iubeantur, non prohibeantur inpura."
"Non dura iubeantur, non prohibeantur inpura."