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

Top 5 Contributors of the Month
Ava Aiden
Imran Ghani
Thomas Shaw

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

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


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


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


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,

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

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