.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Table Backgound Image - should fit to table

Posted By: Anup     Posted Date: December 07, 2009    Points:2   Category :ASP.Net
hi,

I have a table & I am placing a background image to the table, but the problem is that the image is very big & i want to fit it in my table background.

How can this be done????


Thanx..

"Ask and it will be given to you; seek and you will find; knock and the door will be opened to you."

Anup

Responses
Author: Venkat             
Posted Date: December 07, 2009     Points: 5   

Hi,

you can use css to set the background image inside table like this

style="background-image: url('myImage.jpg');


full code

<table style="background-image: url('myImage.jpg');"> <tr><td></td></tr></table >


Mark As Answer if this solve your problem
Warm Regards,
Venkat


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend