Dreamweaver does have a tendancy to do this sometimes, esp if you're formatting multipled cells at the same time but whoever said that design-view was perfect? If you don't want to keep checking the source try this . . .
Whenever you want to set the bg image of a td cell instead of an entire table row just make sure you have the td cell you want formatting selected before you apply the change. The easiest way to do this is to us the breadcrumb-style nav at the bottom of your document (see pic attachement).
In design view place your mouse cursor into the td cell you want to set bg propertied for. Select the td cell by clicking on <td> as shown in the attachment then use the properties box to apply your bg image. Simple!
Of course, it's best to use CSS to set the background of a td cell. Add this to the <head></head> of your document or to a seperate stylesheet for example:
Code:
<style type="text/css">
<!--
.bgimage {
background-image: url(images/image.jpg);
background-repeat: repeat;
}
-->
</style>
Now just add this to your td cell and you won't need to use "background".
Code:
<td class="bgimage">Table Data Here</td>
Hope that helps some!
__________________
FD19.NET: Smarter Hosting Solutions
RHEL - DirectAdmin - Support 24/7
http://www.fd19.net
|