homepage Welcome to WebmasterWorld Guest from 54.211.7.174
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
border around image not good positioned
FromBelgium




msg:3796701
 8:24 pm on Nov 29, 2008 (gmt 0)

Below code works fine in Firefox but in IE the padding on the right side is about 6px instead of 3px. How can I get a border around an image with an even space between image and border?


width:160px; border: 1px solid #9494FD; padding:3px;

 

FromBelgium




msg:3796702
 8:35 pm on Nov 29, 2008 (gmt 0)

Sorry, fixed the problem. Interference with other code.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved