Hi again, Further to my recent post about: <img src="{$portrait-image}" width="175" height="175"/> I'd like to do the same thing with a Background. I tried: <td background="{$portrait-image}" width="200" height="200">Background should appear in this cell.</td> but I can't control the size of the image. I'd like to be able to reside the image. I want to do it in the background because I'm going to put another table in front of it containing text. Thanks in advance, Nigel
Nigel wrote: > Further to my recent post about: <img src="{$portrait-image}" width="175" > height="175"/> > > I'd like to do the same thing with a Background. I tried: > > <td background="{$portrait-image}" width="200" height="200">Background > should appear in this cell.</td> > > but I can't control the size of the image. I'd like to be able to reside > the image. > > I want to do it in the background because I'm going to put another table in > front of it containing text. This is not really an XSLT problem as you simply need to use the HTML and/or CSS features that are available. As far as I know neither HTML 4 nor CSS 2.1 allows you to resize a background image so you will have to make sure the referenced image has the size you need. Unless you want to play with z-index stacking an use an img element below your other stuff. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/