Hallo Dirk.
nur das der (jeweils formatierte, einzelne) Rand dicker erscheint als der Ursprungsrand des natürlichen, unformatierten Textfeldes.
Dann muss der Rand vorher weniger als ein Pixel breit gewesen sein, was rein physikalisch allerhöchstens auf LCDs/TFTs möglich (Subpixel-Rendering) ist.
Gibt es irgendwo ein Beispiel online zu betrachten?
input.text{
color: #000000;
margin: 1 px;
Hier weist du margin-top und margin-bottom den ungültigen Wert „1“ und margin-left sowie margin-right den ungültigen Wert „px“ zu.
Zwischen Wert und Maßeinheit darf kein Leerzeichen stehen.
> ~~~css
background-color: #efefef;
> border-left-color: #000000;
> border-right-color: #efefef;
> border-bottom-color: #000000;
> border-top-color: #efefef;
> border-style: solid;
> border-with: 1px;
> }
All das kannst du etwas noch zusammenfassen:
input.text {
background:#efefef;
border:1px solid;
border-color:#efefef #efefef #000 #000;
color:#000;
}
Einen schönen Samstag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]