I've only just started using Dreamweaver to construct a site of mine and whenever i try to make an image a link, i get a [for those photoshop designers] what appears to be a a stroke or a blue hyperlink attribute around the entire shape of the image...how do i get rid of it? Regards, Nick
you need to set the border to 0. before: <img src="pathtoimage" /> Code (markup): After: <img src="pathtoimage" [B]border="0"[/B] /> Code (markup):
It's better to use CSS code for that. Just put something like this in your css file img { border: 0; } And it will work for all the images in your html files. It saves time and some bites . If you would like to use border for one of images just give it a class name in css or use structured issues. img.border1px { border: 1px solid #fff; /* white border */ } than you use it in html like this <img src="someimage.jpg" width="" height="" alt="" class="border1px" />