<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>
<BR>
>static HRESULT WINAPI <FONT face="">HTMLStyle_put_border</FONT>(IHTMLStyle *iface, BSTR v)<BR>> {<BR>> HTMLStyle *This = <FONT face="">HTMLSTYLE_THIS</FONT>(iface);<BR>>- FIXME("(%p)->(%s)\n", This, debugstr_w(v));<BR>>- return <FONT face="">E_NOTIMPL</FONT>;<BR>>+<BR>>+ TRACE("(%p)->(%s)\n", This, debugstr_w(v));<BR>>+<BR>>+ return set_style_attr(This, STYLEID_BORDER, v, 0);<BR>> }<BR> <BR>
My sample code <BR><FONT size=2>
style->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>
<BR>
produced <BR><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>
<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> BORDER-LEFT: 5px groove; BORDER-BOTTOM: 5px groove" /BODY></FONT></FONT><BR>
<FONT color=#0000ff size=2><FONT face="" color=#0000ff size=2></FONT></FONT> <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> </FONT><BR></FONT></FONT>
<P>Best Regards
<P> Alistair Leslie-Hughes
<P> <BR><br /><hr /> <a href='' target='_new'></a></body>
</html>