Search the web
Sign In
New User? Sign Up
win_tech_off_topic · Windows Technical: Off Topic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Re: [OT] Firefox and ASP.NET   Topic List   < Prev Topic  |  Next Topic >
Reply  | 
Re: [OT] Firefox and ASP.NET

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
>
>
>



Fri Jan 28, 2005 6:05 pm

kevindente
Offline Offline
Send Email Send Email

 | 
Expand Messages Author Sort by Date

... Have you tried putting together a simple HTML file with the dimensions in it and looking at it in FF? -- Steve Johnson...
Steve Johnson
sjohnson3t
Offline Send Email
Jan 28, 2005
2:10 pm

How about the Width attribute? -- -Christopher ASP.NET MVP | AspInsider http://www.chrisfrazier.net/blog ... From: Steve Johnson [mailto:sjjohnson@...] ...
Christopher
alafdool
Offline Send Email
Jan 28, 2005
5:30 pm

I don't know if it addresses ImageButton specifically, but there's a more up-to-date ASP.NET browser capabilities definition maintained here: ...
Kevin Dente
kevindente
Offline Send Email
Jan 28, 2005
6:05 pm

Hi Kevin, Didn't even know about it, but it certainly solves the problem. ImageButton width specifications now come through to FireFox. Just perfect! Many...
Richard Howells
loopylozzysdad
Offline Send Email
Jan 28, 2005
7:26 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help