PDA

View Full Version : 1px frame around linked "javascript:;" image


chacha
11-25-2007, 07:19 AM
hello!
I got this weird problem in DW CS3 - trying to set up behaviors - of a 1px sized frame around an image in design view, coloured blue, after I entered "javascript:;" in the link field of the properties window. This is most unsettling since the image moves 1px sideways, depending on positioning, same thing in the browser preview.
Checked my CSS file and preferences, not able to find any relating hint to where the problem might be.
thanks so much for any suggestions!!
chacha

CurtisMcHale
11-25-2007, 11:54 AM
If you add
img {
border-style: none;
}

to your CSS file that should rectify the problem. I happened to me when I had an image that was also a link and this fixed it.

chacha
11-26-2007, 05:20 AM
...your hint works perfectly!

CurtisMcHale
11-26-2007, 09:30 PM
glad to be of help