Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Re: background image in a cell (http://www.velocityreviews.com/forums/t638698-re-background-image-in-a-cell.html)

dorayme 10-07-2008 07:53 AM

Re: background image in a cell
 
In article <Xns9B305D8BC474Eammammatatiscalineti@194.177.97.9 6>,
Ammammata <ammammata@tiscalinet.it> wrote:

> hello
>
> is it possible to insert a background image in a cell of a table?
>
> something like:
>
> <td background="images/wallstreet_bg.jpg">
> <p>OUR TARGET<br>
> text text text </p>
> </td>


<http://dorayme.890m.com/alt/bgInCell.html>

--
dorayme

dorayme 10-08-2008 09:46 PM

Re: background image in a cell
 
In article <Xns9B3191B82770Bammammatatiscalineti@194.177.97.9 6>,
Ammammata <ammammata@tiscalinet.it> wrote:

> dorayme <doraymeRidThis@optusnet.com.au> wrote in news:doraymeRidThis-
> 7462F8.18533907102008@news-vip.optusnet.com.au:
>
> > <http://dorayme.890m.com/alt/bgInCell.html>
> >
> >

>
> well, this works but it applies on the whole table; I've another one with
> more than one cell so I'll apply Ben C tip
>
> thankyou


The tips are not that different. The background is on the cell, not the
table. You can confine to a particular cell by either inline style on
the cell or by classing the cell and having the bg styling in a separate
style sheet or in a set of style instructions in the head. You might one
day want the same bg in a few different cells... easier to class them
than to style each, especially as you might find you need other styles
to pertaining to this sort of thing...

BTW, p in mine (that I recall) was not so relevant, I used it because
you had one I think and also as a convenient way to prop the cell open
to a set px dimension for the example only.

--
dorayme


All times are GMT. The time now is 06:33 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57