Click to See Complete Forum and Search --> : cell backgrounds
okham
11-01-2003, 12:11 PM
...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...
If there's not, does HTML have a parameter for an image that will allow text to be written over the top it?
okham
Khalid Ali
11-01-2003, 12:26 PM
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..
okham
11-01-2003, 04:01 PM
...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:
<td background="myfile.jpg">
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="myfile.jpg" width=100%>. Thanks for your earlier comment...
okh
Paul Jr
11-01-2003, 04:54 PM
Originally posted by okham
...<td background="myfile.jpg">
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="myfile.jpg" width=100%>. Thanks for your earlier comment...
okh
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.
okham
11-01-2003, 06:49 PM
...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.
okh