Click to See Complete Forum and Search --> : Blue Border not going away (newbie)


jeffduck
07-05-2006, 01:21 PM
I'm using one of the templates that come with Dreamweaver. One class in the css file is .banner which contains...

.banner{
align: center;
padding: 5px 0px 0px 10px;
position: relative;
}

My file that contains the content is a php include so there is almost nothing in it. Here is the contents of the file...

<link rel="stylesheet" href="wco_styles.css" type="text/css" />
<div class="banner">
<?php echo '<a href="'xxxxx" target="_blank"><img src="xxxxx" alt="'.$value['web_BannerLg::cAlt'][0].'" width="468" height="60" /></a>'; // I cut out the php code for easier reading ?>
</div>

(I have the link tag inside all my includes so I can better see what's happening as I code.)

My problem is that I always get about a 3px blue line around the div. It doesn't matter if I view the final page with the include, or if I view only the include file within Dreamweaver in Design view. I can even leave in or remove the link tag with no change. No matter what I do, that blue line is there!

I also have a second banner ad include that has the same problem.

Any advice would be greatly appreciated! :)

KDLA
07-05-2006, 01:59 PM
Try this in your css:

.banner a {border: 0;}
.banner img {border: 0;}

jeffduck
07-05-2006, 04:54 PM
Thanks much KDLA - that did the trick!