From: Max C. <ma...@bi...> - 2000-11-29 03:10:40
|
Thanks, The solution works perfectly with IE, and as that is the main browser = used in this country. (76%) It will do what I need. Thanks for your assistance, Max ----- Original Message -----=20 From: Richard :o)=20 To: dyn...@li...=20 Sent: Tuesday, November 28, 2000 11:45 AM Subject: Re: [Dynapi-Help] Borders hi, You can call all the css features, but they are browser specific, so = the folowing is ok in IE & NS6 but in ns4 the border doesn't render: =20 myDynAPIDiv=3Dnew DynLayer(null,100,400,541,251,"lightslategray") DynAPI.document.addChild(myDynAPIDiv) myDynAPIDiv.css.borderWidth=3D"2px" my DynAPIDiv.css.borderColor=3D"lightsalmon" myDynAPIDiv.css.borderStyle=3D"solid" =20 I've made a "diagnose" widget which shows all the functions & = properties which are available , and will put it on the web when the = code's cleaned up. Cheers, Richard:o) ----- Original Message -----=20 From: Max Campsell=20 To: dyn...@li...=20 Sent: Tuesday, November 28, 2000 9:35 PM Subject: [Dynapi-Help] Borders Hi, I am new to the DynamicAPI, but I am impressed with what I have = tried so far. When using Div's I like to place a colored border. eg: style=3D"BACKGROUND: lightslategray; BORDER-BOTTOM: lightsalmon 2px = solid; BORDER-LEFT: lightsalmon 2px solid; BORDER-RIGHT: lightsalmon 2px = solid; BORDER-TOP: lightsalmon 2px solid; HEIGHT: 251px; LEFT: 27px; = POSITION: absolute; TOP: 45px; WIDTH: 541px" Could you tell me how I can achieve this using the Dynamic Layers? Hope you can assist. Thanks Max Campsell |