cell backgrounds

liunx

Guest
...Is there a way to override the tiling of a background when it's used in a table cell? I'd like to have an image 100% of a table cell, but as a background that resizes...<br />
<br />
<br />
If there's not, does HTML have a parameter for an image that will allow text to be written over the top it?<br />
<br />
okham<!--content-->I am not sure if I understood the first part of your question..for the second part,put text in a div trag and set the background transparent this will show the images behind the layer..<!--content-->...I'm afraid layers is a topic that's above me right now, Khalid. I still put my pages together with more basic code, though I'd like to learn how to manipulate layers. As for that first part of my question, I'm thinking about a basic <td> where it's:<br />
<br />
<td background="myfile.jpg"><br />
<br />
The image is tiled, and I was wondering if it can be overriden so that the image is shown as if it were an image set to a percentage width, such as: <img src=http://www.webdeveloper.com/forum/archive/index.php/"myfile.jpg" width=100%>. Thanks for your earlier comment...<br />
<br />
okh<!--content-->Originally posted by okham <br />
...<td background="myfile.jpg"><br />
<br />
The image is tiled, and I was wondering if it can be overriden so that the image is shown as if it were an image set to a percentage width, such as: <img src=http://www.webdeveloper.com/forum/archive/index.php/"myfile.jpg" width=100%>. Thanks for your earlier comment...<br />
<br />
okh <br />
<br />
Please correct me if I'm wrong, but I think he wants his background image to stretch so it fits his table cell, no matter the dimensions.<!--content-->...you're right, Paul. I've thought about using <iframe> with and image in the background from a source file, but that's kind of cumbersome.<br />
<br />
okh<!--content-->
 
Back
Top