Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS resize background-image in a table? 1

Status
Not open for further replies.

hovercraft

Technical User
Joined
Jun 19, 2006
Messages
236
Location
US
Is it possible to have a background image for a table that resizes based on the size of the table?

Code:
<table border="1" width="100%" height="20%" style="background-image: url(banner.jpg); background-position: 50% 50%;background-repeat: no-repeat">

Thanks for any information
 
Nope, not with the currently supported CSS. CSS3 has a background-size property but that is not currently supported in any browser and will be some time before it is.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top