Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > BorderWidth of the control asp:ImageButton does not work in firefox

Reply
Thread Tools

BorderWidth of the control asp:ImageButton does not work in firefox

 
 
Christophe Sauvage
Guest
Posts: n/a
 
      10-05-2007
Hello,
Apparently the property BorderWidth of the control asp:ImageButton does not
work in firefox
there is a solution ?
Thank you.

Server code :
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1"
%>
<%@ import Namespace="System" %>

<script language="C#" runat="server">

void Page_Load(Object sender, EventArgs E){
if (!IsPostBack) {
VisuAImageButton.BorderWidth = 0;
}
}

void ChoixAClick (Object sender, ImageClickEventArgs E){
VisuAImageButton.BorderWidth = 4;
}

</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form class="body" runat="server" style="margin:0;">
<asp:ImageButton BorderColor="#FF0080" OnClick="ChoixAClick"
ID="VisuAImageButton" ImageUrl="/images/btn-visualisez.gif" runat="server"
/>
</form>
</body>
</html>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid - BorderStyle="None" and BorderWidth="None" doesn't work for Firefox David Freeman ASP .Net 8 02-16-2011 11:03 AM
Set borderwidth on a datagrid cell at runtime Iain Wilson ASP .Net 1 08-07-2008 02:45 PM
Image adding border-width:0; when I do not specify the BorderWidth property Nathan Sokalski ASP .Net 1 11-07-2007 04:30 PM
DataGrid - BorderStyle="None" and BorderWidth="None" doesn't work for Firefox David Freeman ASP .Net Web Controls 5 12-27-2004 05:27 AM
Webservice works once and then DOES NOT seem to work even though program does not crash Phi! ASP .Net Web Services 1 04-23-2004 08:42 AM



Advertisments