You can do it with css, like this:

put this in the head of your page (or in an external style sheet file if you
like):

<.style type="text/css"><.!--
td.background {
  background-image: url(background.jpg);
  background-repeat: no-repeat;
}
-->
<./style>

and then make your td tag like this:

<.td class="background">

(remove periods after <'s)

You can also use "repeat-y" for vertical repeating only or "repeat-x" for
horizontal repeating only instead of "no-repeat".

This works in IE (4+, iirc) and N6, and I think it works in N4, too.

alice ttlg


http://idiotbox.populli.net/
~ * ~ * ~     ~ * ~ * ~     ~ * ~ * ~     ~ * ~ * ~     ~ * ~ * ~
I refuse to believe the afterlife is run by you.  The world is not so badly
designed. -- Picard to Q in ST: TNG/Tapestry



----- Original Message -----
From: "Eiluned" <[EMAIL PROTECTED]>


> Is there any way I can have a background in a table cell only repeat
> once?  Y'see, I have to make the image a background, because it won't
> line up with the second, side-bottom image if I don't.  But, I want
> the cell to be 100% wide, and that would make the image repeat.
>
> Is there some kind of code I can insert in there to make the
> background image display once instead of repeating?
>
> Eiluned - [EMAIL PROTECTED]




_______________________________________________
Fanficwebdesign mailing list
[EMAIL PROTECTED]
http://populli.net/mailman/listinfo/fanficwebdesign_populli.net

Reply via email to