Another IE Bug

This is a discussion on "Another IE Bug" within the Web Page Design section. This forum, and the thread "Another IE Bug are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 30th, 2007, 13:02
Junior Member
Join Date: Jul 2006
Location: Maine
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Another IE Bug

Every time I build a site I usually find myself a new ie bug. But this one is baffling. When I have whitespace between two divs in the code, its puts whitespace on the actual page in ie. It's not that big of a deal but I am just going for somewhat clean code.

Thanks.

Edit...

I am not sure what happened to the code there, I will have a link in a bit. I am uploading something else right now.

Last edited by Maverick25r; Apr 30th, 2007 at 13:36.
Reply With Quote

  #2 (permalink)  
Old Apr 30th, 2007, 13:10
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another IE Bug

what two div's is the white space between? Do you have a link by any chance?
Reply With Quote
  #3 (permalink)  
Old Apr 30th, 2007, 13:52
Junior Member
Join Date: Jul 2006
Location: Maine
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another IE Bug

http://www.sundayriver.com/mpaf/

Now this isn't that big of a deal but the whitespace would be between the main image and the content div.
Reply With Quote
  #4 (permalink)  
Old Apr 30th, 2007, 14:53
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another IE Bug

The site looks exactly the same in IE 7 and FF2.
Welcome from one Mainer to another!
In your #contentindex div you have a margin of auto. It should be
margin: 0 auto;

Actually you have that throughout your css.

Also try adding to #mainimage div..
overflow:hidden;
and see if that helps.

Sometimes heights in divs can be off as well.
Reply With Quote
  #5 (permalink)  
Old May 1st, 2007, 03:48
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another IE Bug

Is there a reason you use overflow: hidden; a lot, Linda? I've never had the need to use that for anything!
Reply With Quote
  #6 (permalink)  
Old May 1st, 2007, 10:55
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another IE Bug

Yes everytime I put two div's one on top of the other I get addition space between.
It'd dead space between the two divs. The overflow:hidden seems to take that away.
I learned it from Karinne.
Reply With Quote
  #7 (permalink)  
Old May 1st, 2007, 17:10
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another IE Bug

Weird. I guess that's another way of hiding margin, but I prefer * { margin: 0; padding: 0; }
Reply With Quote
  #8 (permalink)  
Old May 1st, 2007, 17:18
craig's Avatar
Reputable Member
Join Date: Sep 2005
Location: Preston, UK
Age: 21
Posts: 381
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to craig
Re: Another IE Bug

Sounds like the infamous box model bug

http://en.wikipedia.org/wiki/Interne..._box_model_bug
Reply With Quote
  #9 (permalink)  
Old May 1st, 2007, 17:34
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Another IE Bug

Naw, the doctype is right. So long as you're not talking about IE5.
Reply With Quote
Reply

Tags
ie whitespace

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 00:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43