This is a discussion on "Padding In IE" within the Web Page Design section. This forum, and the thread "Padding In IE are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Padding In IE
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Feb 11th, 2008 at 01:02. |
|
|
|
||||
|
Re: Padding In IE
does this work ?
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Last edited by saltedm8; Feb 11th, 2008 at 06:08. |
|
|||
|
Re: Padding In IE
What's that code doing in IE 7 Monie?
|
|
||||
|
Re: Padding In IE
Are you using an xHTML doctype? If so you'll need to close that <img> tag with a trailing slash.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
|||
|
Re: Padding In IE
What do you mean Linda?
I am using strict HTML 4.01 doctype, and {float: left} isn't helping me much Ok, let me host them somewhere, gimme a minute...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Padding In IE
This is really weird, the thing works both in FF and IE when I tested them in a free host but not in my PC! Check this!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Padding In IE
I just wanted to know what portion of the code IE7 was not rendering correctly.
I checked FF, IE7, and IE6 and it's perfecto! |
|
|||
|
Re: Padding In IE
Yeah me too! I think there is some duplication in the CSS style referring to the img style.
Let me double check my CSS first and find out what causes the bug. Basically the problem is that the padding is not working in IE7/IE6. Thanks..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS padding Firefox vs IE | WL1207 | Web Page Design | 5 | Oct 18th, 2007 13:56 |
| unable to set padding | tox0tes | Web Page Design | 5 | Jul 1st, 2007 16:45 |
| padding content | Salbert | Web Page Design | 5 | May 3rd, 2007 18:43 |
| What's up with margins and padding in IE? | Donny Bahama | Web Page Design | 41 | Apr 19th, 2007 10:04 |
| Disappearing padding in IE | diagonalArgument | Web Page Design | 1 | Jan 8th, 2006 14:03 |