if you ommited in the tag properties, css file will be the one that the tag
uses!
maybe you are setting the CSS wrong?
try:
..border {
border: solid 3px black;
}
in a CSS file, link it in the page and then add CssClass="border" to the
asp:image tag
--
Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Peter" <no****@nospam.com> escreveu na mensagem
news:Oq**************@TK2MSFTNGP03.phx.gbl...
hi Bruno,
problem:
i would like to set the border-width in a css file for all controls.
because asp.net always renders border-width as inline-style
and overrides settings from css class it's impossible!
no workaround to stop asp.net's behavior?
"Bruno Alexandre" <br*********@gmail.com> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP03.phx.gbl... it's by default,
did you tried to add the style as CSS to change it?
or add:
BorderWidth="1" BorderStyle="Solid" BorderColor="Black" to the tag
--
Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Peter" <no****@nospam.com> escreveu na mensagem
news:uY**************@TK2MSFTNGP04.phx.gbl... Hello NG,
Why in Asp.net 2.0 Image / Imagebutton always renders a style
'border-width:0px' even if Borderwidth is empty ? Is there a workaround
?
thanx