Go to DotNetFunda.com
 Online : 1322 |  Welcome, Guest!   Login
 
Home > Forums > ASP.NET > image button in asp.net ...

ASP.NET Forum



image button in asp.net

Author: Shoyebaziz123 | Posted on: 11/14/2009 | Category: ASP.NET | Views: 194 | Level: Starter | Status: [Member]

Hi All,

i want to display (image-Text) on image button ....whereimage is some image and tex is some text on right side of image ?

Thanks


Reply

Found interesting? Add this to:

| More

 Responses

Vuyiswamb  
Posted on: 11/14/2009 8:13:16 AM
Level: NotApplicable | Status: [Member] [Administrator] | Reply

Good Day Shoyebaziz123

The Image Control in ASP.net must have a Text Property. am not sure am not infront of my Computer. but you will do it like this

Image1.Text = "Hello world";


Thank you for posting at DotnetFunda

Vuyiswa Maseko


Shoyebaziz123, please login to Mark As Answer, if this helps | Alert Moderator 

Poster  
Posted on: 11/15/2009 7:48:22 PM
Level: Starter | Status: [Member] | Reply

Simply put like this.

<img src="/myimage.jpg" style="text-valign:middle;" />My text


This will make the text appear at the right side of the image.

Thank you

Shoyebaziz123, please login to Mark As Answer, if this helps | Alert Moderator 

Abhi2434  
Posted on: 12/4/2009 3:13:21 AM
Level: Silver | Status: [Member] | Reply

Also use clear:none as style to ensure it works properly.


www.abhisheksur.com

Shoyebaziz123, please login to Mark As Answer, if this helps | Alert Moderator 

Latest Posts

More ... 

 Write New Post


Advertisement

About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 9/3/2010 3:59:20 AM