Skip to main content
Participant
May 21, 2010
Question

CS5 Cell background image

  • May 21, 2010
  • 1 reply
  • 20762 views

Unless, I'm missing something obvious, I cannot find a way (design view) on table properties panel to insert a cell bg image? Same issue with table bg fill? Doesn't DW CS5 support these features in design view anymore?

    This topic has been closed for replies.

    1 reply

    Randy Edmunds
    Adobe Employee
    Adobe Employee
    May 21, 2010

    Unless, I'm missing something obvious, I cannot find a way (design view) on table properties panel to insert a cell bg image? Same issue with table bg fill? Doesn't DW CS5 support these features in design view anymore?

    The buttons you're looking for in the PI generated deprected code, so they were removed. Instead, apply background images using CSS.

    HTH,

    Randy

    Participant
    September 6, 2011

    Hi, I'm new to the forum and just bought Design Premium CS5.5. I used Dreamweaver CS3 before and always did  and do my pages with tables, not css. In how far did the field "bg image" produce wrong code? I never had problems with it. I create my pages with photoshop, slice them and then put them into Dreamweaver. For the purpose of not having mouse-over effects for the pictures, I always put them into the background. Also it's not that easy to download those pictures. I now inserted the "background=..." tag manually. Is this an inproper way? I'm not so into css - will I have to start getting into it? How do you center a page, not using a table?

    Legend
    September 6, 2011

    Florian Manuel wrote:

    Hi, I'm new to the forum and just bought Design Premium CS5.5. I used Dreamweaver CS3 before and always did  and do my pages with tables, not css. In how far did the field "bg image" produce wrong code?

    It's not wrong code it's just deprecated in favour of more advanced techniques. All browers both new and old will still honour the old code.

    Also it's not that easy to download those pictures.

    Very easy.

    I'm not so into css - will I have to start getting into it?

    You don't have to but its been around for a few years now. If you do a lot of web development then it will make your life easier once you have learnt it of course. It produces much leaner and cleaner code so maintenance becomes a breeze.

    How do you center a page, not using a table?

    css is NOT a replacement for tables. You can use css in combination with tables.

    Instead of using the old align="center" tag on a table you would give your table an 'id'

    <table id="myTable" cellspacing="0" cellpadding="0">

    <tr>

    <td>Some content</td>

    </tr>

    </table>

    Then use some css to center it:

    #myTable {

    margin: 0 auto; /* centers the table horizontally */

    width: 800px;

    }

    Of course the best way is to try and avoid tables and use then sparingly perhaps for data. I know people who still use tables to design web pages and it's ok.