reorder the border attributes so they are type, size, color and see if that
solves your problem.

On Thu, Dec 23, 2010 at 11:53 AM, marbrun <marb...@me.com> wrote:

> Hello guys
>
> I am using the latest version of JS Prototype, 1.7.
> I have never asked a question about JS Prototype online because I
> always figured it out somehow or just found another solution. But
> that's not true this time.
>
> In CSS, the border is set on an element like this:
>
> #element {
> border:#000000 solid 3px;
> }
>
> Now I try to get the border value in JS Prototype with this code:
>
> $('element').getStyle('border');
>
> And this is the return I get in Firebug:
>
> (an empty string)
>
> I have simplified all other code, so there nothing else influencing
> it. I have even tested this in another project using Prototype version
> 1.6. No result.
>
> How can I solve this quite important problem?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> prototype-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to