HighDots Forums  

Border on image links

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Border on image links in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bobby Baxter
 
Posts: n/a

Default Border on image links - 03-29-2009 , 09:35 AM






DW CS3

How can I get DWCS3 to stop automatically placing a border on image links?

DWMX automatically assigned a border=0 to each image link but CS3 leaves it
blank so that I have to manually add the zero.

--

Bobby Baxter
Daylilies, Videos, & Web Design
http://happymoosegardens.com
http://thegardensite.com





Reply With Quote
  #2  
Old   
Bobby Baxter
 
Posts: n/a

Default Re: Border on image links - 03-29-2009 , 10:15 AM






Thank you, that resolved the issue.

--

Bobby Baxter
Daylilies, Videos, & Web Design
http://happymoosegardens.com
http://thegardensite.com



"David Powers" <david (AT) example (DOT) com> wrote

Quote:
Bobby Baxter wrote:
How can I get DWCS3 to stop automatically placing a border on image
links?

Create the following style rule:

a img { border: none; }

DWMX automatically assigned a border=0 to each image link but CS3 leaves
it blank so that I have to manually add the zero.

It was dropped in CS3 because the border attribute on images is
deprecated, and also because the CSS rule is much more efficient. It
automatically applies to every image inside a link, as long as the style
sheet is attached to the page.

--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.