View Single Post
  #7 (permalink)  
Old 10-15-2008, 11:33 PM
David Powers
 
Posts: n/a
Diggs:
Default Re: This just sucks....

Cerksees wrote:
> Just so you know (since you obviously don't) you can go around this particular
> Dreamweaver CS3 bug by adding " border="0"" to each img tag in the menu OR you
> can add "img {border:0;}" to your CSS file.


It's not a bug. It's the way that browsers treat images embedded in a
link, and it has been that way since I first started creating websites
more than 13 years ago.

> I find nothing in the CSS documentation that says that links should have a
> border of any size. Why would they? Links within text don't seem to have a
> border assigned to them, so why are they assigned in this case?


Because the HTML specification says so:

http://www.w3.org/TR/html401/struct/....html#h-13.7.3

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Reply With Quote