Thread: Padding In IE
View Single Post
  #1 (permalink)  
Old Feb 11th, 2008, 00:59
Monie Monie is offline
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,609
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Padding In IE

I know I can solve this somehow but I am tired with all the problem IE has made. Basically, I have an image and I wanted to put a border around it with a padding of 3px. They work's fine in FF as usual but not in IE7! Any Idea that might do the trick?
Thanks.

Here is my CSS and HTML code.
HTML: Select all
#content img.illus {
    border: 2px solid #304818;
    padding: 3px;
}
HTML: Select all
<div id="content">
     <a href="links.asp"><img src="image.png" class="illus"></a>       
</div>

Last edited by Monie; Feb 11th, 2008 at 01:02.
Reply With Quote