No replies
elenano
elenano's picture
Offline
newbie
Marina, CA
Last seen: 8 years 30 weeks ago
Marina, CA
Timezone: GMT-8
Joined: 2012-11-08
Posts: 2
Points: 4

The DTD is

I'm using Dreamweaver CS5.5. Every time I create a div, it has a space and then placeholder text. I can delete the text when I insert an image, but the space stays, about 10 pixels, always on the lefthand side of the box. I could eliminate borders and it wouldn't show. But I'd like to keep the borders, if I can.

This has happened on every picture box but one, and the code appears identical to me, so I don't know what is causing it.

The URL for the page that doesn't have it is http://www.waterheaterrescue.com/pages/WHRpages/English/Troubleshooting/lingopages/anode.html

The URL for a page that does have the space is http://www.waterheaterrescue.com/pages/WHRpages/English/Troubleshooting/lingopages/backflow-preventer.html

The div coding for the righthand picture on the first and the top righthand picture on the second is

Partially consumed sacrificial anode rod

and

A household-sized backflow preventer

The code for "rightphoto" is

.rightphoto {
background-color: #FFF;
margin: 10px;
float: right;
height: auto;
width: auto;
border: thin double #cc0000;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.9em;
font-style: italic;
}

What am I missing here?

Randy Schuyler