| CSS styling - Border (e4 contacts demo) [message #562556] |
Fri, 21 August 2009 03:59 |
Tom Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Hi,
I was playing a little bit with the e4 contacts demo and the stylesheet.
I wanted to try to add a border around the text fields in the
detail(composite) view.
My purpose was to reach to same presentation as when using SWT.BORDER in
the defintion/creation of a new Text (field)
So I added the following to the Stylesheet in the text section
Text {
font: Verdana 8px;
border-width; 1px;
border-color: #f08d00;
}
This seems to do something but the border is much thicker and doesn't
fill the whole text box.
So I'm wondering which CSS code is should use to achieve the same as
with SWT.BORDER (eventually with another color).
Tnx in advance for the help
Kind regards,
Tom
|
|
|
Powered by
FUDForum. Page generated in 0.04326 seconds