I see, one issue is that if I call
$('test').setStyle('border','0px none #000000 0px none #000000 0px
none #000000 0px none #000000'); it won't work,
I have to do setStyle('border','0px none #000000'), it seems
inconsistent that el.setStyle('border',el.getStyle('border')) doesn't
work in these cases.

On Sep 26, 8:15 pm, cheeaun <[EMAIL PROTECTED]> wrote:
> On Sep 27, 9:46 am, jon <[EMAIL PROTECTED]> wrote:
>
> > sometimes I call el.getStyle('border') and get '0px none #000000 0px
> > none #000000 0px none #000000 0px none #000000', it's repeated.  Has
> > anyone gotten this problem? is this a bug?
>
> No, it's not a bug. That is actually the correct way of returning the
> values, just in case someone applied something like this:
>
> element {
> border-top: 2px solid red;
> border-right: 1px dashed blue;
> border-bottom: 3px groove green;
> border-left: 4px double yellow;
>
> }
>
> .. so, it should return all the 4 types of border widths, styles and
> colors.
>
> Hope this helps.

Reply via email to