471,851 Members | 1,222 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,851 software developers and data experts.

Repeating a tiling image in a table cell

I have an image which I want to tile in a table cell. The table cell should
expand to fill "the rest of the width" available. This works in Mozilla:

<td width="100%" background="images/topbar_05.gif">&nbsp;</td>

But the background attribute isn't actually valid in the td tag. For that
reason Konqueror doesn't support it, and that's one of the browsers I must
have.

Is there an alternative way?
Jul 20 '05 #1
1 3664
Derek Fountain wrote:
I have an image which I want to tile in a table cell. The table cell should
expand to fill "the rest of the width" available. This works in Mozilla:

<td width="100%" background="images/topbar_05.gif">&nbsp;</td>
is there only one column in your table? Is it tabular data?
But the background attribute isn't actually valid in the td tag. For that
reason Konqueror doesn't support it, and that's one of the browsers I must
have.
I don't know Konqueror, so I don't know what specifically will work in
that browser.
Is there an alternative way?


Presentation is best done separately, via stylesheets.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by abracad | last post: by
7 posts views Thread by Andrew Poulos | last post: by
5 posts views Thread by Doug Laidlaw | last post: by
3 posts views Thread by Viken Karaguesian | last post: by
3 posts views Thread by K. | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.