PDA

View Full Version : How to remove bottom border line?



Gunmen
30 Jan 2010, 8:58 AM
Hi,

I have a panel with a border. However, I do not want a complete border, only left, top, and right is okay. How can I remove the bottom border line?

Thanks!

Gunmen
30 Jan 2010, 9:28 AM
Found the answer...


border:false,
bodyStyle:'border-left:solid 1px;border-top:solid 1px;border-right:solid 1px',

devtig
30 Nov 2010, 5:33 AM
I would specifically work with bottom-....-style, because with your solutions you'd get black borders in the left, top and right. This variant should work Ext JS theme independent.


//border is true by default
bodyStyle:'border-bottom-style:none;'

or


border: false,
bodyStyle:'border-top-style:solid;border-right-style:solid;border-left-style:solid;'