Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 24, 2007, 1:39 am
rate this thread
When you say 'behind' I deduce that you want to set the background of
the table cell. CSS 2 allows you to do this, thus:
but does not provide a method to stretch the image to fill the cell. If
the cell is smaller than the image, only a portion of the image will
appear. If the cell is larger than the image, either:
- the image will appear once and the rest of the cell will not be
filled (or will be filled with the background-color, which you should
always specify in case the image cannot be displayed)
- the image will appear multiple times (tiled) in either the
horizontal direction, the vertical direction, or both, which you get to
background-repeat: no-repeat (or repeat-x or repeat-y or just
repeat, which does both)
If your image is, for example, a piece of textured cloth, repeating it
in both directions may provide the effect you want.
See http://www.w3.org/TR/CSS21/colors.html#propdef-background for more
detail on current capabilities.
CSS 3 appears to have anticipated your requirement. See
especially Example 1. Note, however, that this is a working draft and
represents hope for the future, not something you can reliably use today.
trivial. Others may know better.
that your site still functions without it.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum