<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi Jacek,<BR>
&nbsp;<BR>
&gt;static HRESULT WINAPI <FONT face="">HTMLStyle_put_border</FONT>(IHTMLStyle *iface, BSTR v)<BR>&gt;&nbsp;{<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; HTMLStyle *This = <FONT face="">HTMLSTYLE_THIS</FONT>(iface);<BR>&gt;-&nbsp;&nbsp;&nbsp; FIXME("(%p)-&gt;(%s)\n", This, debugstr_w(v));<BR>&gt;-&nbsp;&nbsp;&nbsp; return <FONT face="">E_NOTIMPL</FONT>;<BR>&gt;+<BR>&gt;+&nbsp;&nbsp;&nbsp; TRACE("(%p)-&gt;(%s)\n", This, debugstr_w(v));<BR>&gt;+<BR>&gt;+&nbsp;&nbsp;&nbsp; return set_style_attr(This, STYLEID_BORDER, v, 0);<BR>&gt;&nbsp;}<BR>&nbsp;<BR>
My sample code <BR><FONT size=2>
style-&gt;put_border(L</FONT><FONT face="" color=#a31515 size=2><FONT color=#a31515 size=2>"groove 5"</FONT></FONT><FONT face="" size=2>);<BR></FONT>
&nbsp;<BR>
produced <BR><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>
&lt;BODY style</FONT></FONT><FONT color=#0000ff size=2><FONT face="" color=#0000ff size=2>="BORDER-RIGHT: 5px groove; BORDER-TOP: 5px groove; </FONT></FONT><BR>
<FONT color=#0000ff size=2><FONT face="" color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BORDER-LEFT: 5px groove; BORDER-BOTTOM: 5px groove" /BODY&gt;</FONT></FONT><BR>
<FONT color=#0000ff size=2><FONT face="" color=#0000ff size=2></FONT></FONT>&nbsp;<BR>
<FONT color=#0000ff>Will gecko expand "border" to the above?</FONT><BR>
<FONT color=#0000ff size=2><FONT face="" color=#0000ff size=2><FONT color=#ff0000>&nbsp;</FONT><BR></FONT></FONT>
&nbsp;
<P>Best Regards
<P>&nbsp;Alistair Leslie-Hughes
<P>&nbsp;<BR><br /><hr /> <a href='' target='_new'></a></body>
</html>