Current location: Hot Scripts Forums » General Web Coding » CSS » Float left working everywhere but Firefox...


Float left working everywhere but Firefox...

Reply
  #1 (permalink)  
Old 02-11-07, 06:18 PM
Alith7's Avatar
Alith7 Alith7 is offline
Newbie Coder
 
Join Date: Oct 2006
Location: Lost in the black hole of my mind
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Float left working everywhere but Firefox...

Here's the page:
http://digitaledgecc.com/copy_pricing.php

Works great in everything that I have to test except Firefox.

Here's the CSS Code block that pertains:

Code:
#pricingleft {
  float: left; 
  width: 370;
  margin: 0 0 20px 20px;
  }
#pricingright {
  float: left;
  width: 370;
  margin: 0 0 20px 40px;
  }
#pricingleft h2 {
  margin: 0;
  padding: 5px;
  color: #E21D24;
  text-align: center;
  }
#pricingright h2 {
  margin: 0;
  padding: 5px;
  color: #000000;
  text-align: center;
  }
any ideas?
Reply With Quote
  #2 (permalink)  
Old 02-12-07, 12:31 PM
jfulton's Avatar
jfulton jfulton is offline
Community VIP
 
Join Date: Apr 2006
Location: Los Angeles, CA
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
Your columns are too wide, so the second float drops below the first. And the widths don't have units on them. Try something like:
Code:
#pricingleft {
  float: left; 
  width: 370px;
  margin: 0 0 20px 20px;
  }
#pricingright {
  float: left;
  width: 300px;
  margin: 0 0 20px 40px;
  }
Reply With Quote
  #3 (permalink)  
Old 02-12-07, 01:54 PM
Alith7's Avatar
Alith7 Alith7 is offline
Newbie Coder
 
Join Date: Oct 2006
Location: Lost in the black hole of my mind
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
That worked!
thank you for your help!
I figured it was going to be something silly that I missed.

Thanks again!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox and align problems gigafare CSS 12 01-07-07 11:22 AM
how do i get dynamic forms working with mozilla firefox?? please help!!! manu0310 JavaScript 1 01-18-06 09:47 AM
Firefox driving me up the wall Bonzo CSS 3 12-28-05 09:18 AM
onChange with 2 values not working in FireFox dooby JavaScript 2 07-09-05 12:05 PM
IE and Firefox not working together stuboo CSS 2 11-29-04 02:49 AM


All times are GMT -5. The time now is 01:59 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.