CSS table cell background image: right & bottom justify

Posted on 2009-12-19
Last Modified: 2012-05-08
i have avarying size cell (based on db content displayed) that i'd like to have the background have a bottom & right edge  for the "last" 30 pixels (the quasi beveled edge fades away to the left and to the top).   (normal) Text is displayed over the background

Is there a way to do BOTH of the following:
- bottom justify and right justify a background image in a table cell background (non repeating)
- AND ... have a solid background for the rest of the cell where the image does not extend to (note that this solid background color is the same as the majority of the background image color)

Question by:willsherwood
    LVL 9

    Accepted Solution

    Try this:
    <td id="cell_you_describe_above">
    <div id="your_div_name_id_w_background">


    background-color:#ffffff <--------whatever your color is
    LVL 9

    Expert Comment

    Hope that helps

    Author Closing Comment

    i'll give it a try, looks good.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
    Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
    In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
    In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now