HighTechTalks DotNet Forums  

submit button shows very wide in IE

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss submit button shows very wide in IE in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
OK
 
Posts: n/a

Default submit button shows very wide in IE - 12-19-2007 , 02:26 PM






I've placed a standard asp.net button at my page.
For a reason which I don't know, Internet explorer shows the button very
very wide. It begins at the left of the page and it stops at the right of
the page. It looks like a sqeezed image.

Hoe can I have the button to be shown in normally width within IE?

regards,
Oscar



Reply With Quote
  #2  
Old   
Wannabe
 
Posts: n/a

Default RE: submit button shows very wide in IE - 12-19-2007 , 03:40 PM






I have seen this if CSS is applied to the button with a right and left margin
setting. Check that.

"OK" wrote:

Quote:
I've placed a standard asp.net button at my page.
For a reason which I don't know, Internet explorer shows the button very
very wide. It begins at the left of the page and it stops at the right of
the page. It looks like a sqeezed image.

Hoe can I have the button to be shown in normally width within IE?

regards,
Oscar




Reply With Quote
  #3  
Old   
David Wier
 
Posts: n/a

Default Re: submit button shows very wide in IE - 12-19-2007 , 04:33 PM



You might also see if a style with width as an atrribute was added to the
button

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup


"Wannabe" <Wannabe (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have seen this if CSS is applied to the button with a right and left
margin
setting. Check that.

"OK" wrote:

I've placed a standard asp.net button at my page.
For a reason which I don't know, Internet explorer shows the button very
very wide. It begins at the left of the page and it stops at the right of
the page. It looks like a sqeezed image.

Hoe can I have the button to be shown in normally width within IE?

regards,
Oscar






Reply With Quote
  #4  
Old   
OK
 
Posts: n/a

Default Re: submit button shows very wide in IE - 12-19-2007 , 06:04 PM



The problem was solved just by setting a value to the width property.

Thanks for your help.

"OK" <oku (AT) xs4all (DOT) nl> schreef in bericht
news:e3Iz%23TnQIHA.4740 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
Quote:
I've placed a standard asp.net button at my page.
For a reason which I don't know, Internet explorer shows the button very
very wide. It begins at the left of the page and it stops at the right of
the page. It looks like a sqeezed image.

Hoe can I have the button to be shown in normally width within IE?

regards,
Oscar




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.