|
-
May 2nd, 2001, 07:45 PM
#1
Thread Starter
Hyperactive Member
css background image width
Hi,
I am using CSS to set the background image of a certain cell in a table. What I want to know is if I can set the image's height or width to the a certain percentage of the cell? This is the code I'm using:
<style = "text/css">
<!--
TABLE
TR.text {color: #000000; font-size: 14pt}
td.background {color: #000000}
td.image { background-image: url('wm.jpg'); background-repeat: no-repeat;
background-attachment: fixed; background-position: right center }
TD.Padding {padding: 5; spacing: 5;}
-->
</style>
I want to be able to say something like:
td.image.width="100%"
Please help me out. I'd appreciate it once again (for those of you who have read my previous posts).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|