Looks fine in IE, FF destroys it

This is a discussion on "Looks fine in IE, FF destroys it" within the Web Page Design section. This forum, and the thread "Looks fine in IE, FF destroys it 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 Mar 28th, 2007, 19:17
New Member
Join Date: Mar 2007
Location: Somewhere
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Looks fine in IE, FF destroys it

My page looks perfect in IE, but in FF, the <div class="main"> doesn't display correctly. The site is at http://www.ratingdominator.com/test

Any ideas why that could be?
Reply With Quote

  #2 (permalink)  
Old Mar 28th, 2007, 20:15
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Looks fine in IE, FF destroys it

In the css for your footer add clear: both;
Code: Select all
.footer {

	background-image: url(images/footer.jpg);

	background-repeat: no-repeat;

	height: 8px;

	width: 785px;

	margin: 0 auto;

        clear: both;
}
Whenever you have a float of a div, you need to put a clear in the div following or the div following will wrap around the div above.

Hope that helps!
Reply With Quote
  #3 (permalink)  
Old Mar 28th, 2007, 20:22
New Member
Join Date: Mar 2007
Location: Somewhere
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Looks fine in IE, FF destroys it

That pushed the footer to where it's supposed to be, but the main div doesn't stretch all the way down to it. I need the background to be green, like it is in IE.

Thanks for the clear: both tip!
Reply With Quote
  #4 (permalink)  
Old Mar 28th, 2007, 21:45
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Looks fine in IE, FF destroys it

add overflow: auto; to #main
Reply With Quote
  #5 (permalink)  
Old Mar 28th, 2007, 22:18
New Member
Join Date: Mar 2007
Location: Somewhere
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Looks fine in IE, FF destroys it

Perfect, between the two replies, it's working perfectly now Thanks to both of you!
Reply With Quote
Reply

Tags
css, div

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating works fine in firefox but not IE ! marSoul Web Page Design 13 Dec 18th, 2007 18:37
Flying cow destroys minivan c010depunkk Webforumz Cafe 9 Nov 13th, 2007 18:41
Page not displaying right in IE fine in FF motormaniac Web Page Design 1 Jul 16th, 2007 11:57
Fine in FF, Opera, but not in IE ivyholly Web Page Design 8 Jan 3rd, 2006 20:30
odd slideshow problem (fine in IE, not in Mozilla) jono JavaScript Forum 7 Mar 17th, 2005 08:42


All times are GMT. The time now is 18:50.


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