This project is archived and is in readonly mode.

#858 ✓resolved
Ess

Element.setStyles() and 'border-spacing'

Reported by Ess | February 25th, 2010 @ 02:05 PM | in 1.3.0 rc2 (closed)

The style 'border-spacing' is not applied with integer value :

new Element('table').setStyles({
  'border-collapse':'separate',
  'border-spacing':5
});

We need to write

new Element('table').setStyles({
  'border-collapse':'separate',
  'border-spacing':'5px'
});

The others styles with pixel accept integer ( width , height , left , ... )

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages