W
webeditor-coutre
I am trying to limit the length of a right-side border for a div, to about
90% (which here is about 170px). All of the other properties work fine (e.g.,
"solid", "width: 1px", color: black, etc.).
But the "length" property does not "take". The length of the border persists
in being 100% of the side of the div.
I have tried these two ways of attributing length in the div that is 200px
tall (neither of these is working):
border-right-length: 160px;
border-right-length: 80%;
Question: Does anyone know how I can get a border in a div to limit to a
percentage length?
90% (which here is about 170px). All of the other properties work fine (e.g.,
"solid", "width: 1px", color: black, etc.).
But the "length" property does not "take". The length of the border persists
in being 100% of the side of the div.
I have tried these two ways of attributing length in the div that is 200px
tall (neither of these is working):
border-right-length: 160px;
border-right-length: 80%;
Question: Does anyone know how I can get a border in a div to limit to a
percentage length?