I don't know if it addresses ImageButton specifically, but there's a
more up-to-date ASP.NET browser capabilities definition maintained
here:
http://slingfive.com/pages/code/browserCaps/
Might be worth a look, if you're not already running it.
Kevin
On Fri, 28 Jan 2005 12:56:52 -0000, Richard Howells
<Richard@...> wrote:
>
>
>
> Hi All,
>
>
>
> Has anyone had trouble with FireFox and ASP.NET's ImageButton control? (This
> might affect other controls too)
>
>
>
> I have an image button set to width=80px (in the ASP.NET designer). Viewed
> with IE6 it's 80 px – give or take. In Firefox it's *huge* - I'd estimate
> about 1200px.
>
>
>
> View source in IE6 shows ….
>
> <TD>
>
> <input type="image"
> name="FootBar1:ImageButton4" id="FootBar1_ImageButton4"
> src="Images\PamHowellsWebLogo.jpg" alt="Pam Howells Logo" border="0"
> style="width:80px;" /></TD>
>
>
>
>
>
> View Source in FireFox shows…
>
> <TD> <input type="image"
> name="FootBar1:ImageButton4" id="FootBar1_ImageButton4"
> src="Images\PamHowellsWebLogo.jpg" alt="Pam Howells Logo" border="0" /></TD>
>
>
>
>
>
> The astute reader will have spotted that there is no style="width:80px;" in
> the Firefox output. I assume this is due to ASP.NET's interpretation of the
> browser capabilities string, but I don't know what to do about it. It has
> happily sent other style= stuff for other controls.
>
>
>
> It is *clearly not* the two browsers rendering the same HTML differently,
> because they didn't see the same HTML.
>
>
>
> Ideas?
>
>
>
> Thanks,
>
> Richard
>
> richard@...
> www.dynamisys.co.uk
> Land line +44 (1793) 731225
> Mobile +44 (7732) 971 786
>
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/win_tech_off_topic/
>
> To unsubscribe from this group, send an email to:
> win_tech_off_topic-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.1 - Release Date: 27/01/2005
>
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.1 - Release Date: 27/01/2005
>
>
>