Margin not working in Firefox 3, but it works in Firefox 2?
Posted: 25 June 2008 03:33 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  123
Joined  07-25-2007

This is a problem I just noticed in a site I created a while back. The site appears fine in Firefox 2, IE6, IE7, etc. but I just noticed that one of the margins isn’t being recognized in the new Firefox 3.

If you look at an interior page like this one for example ( http://www.***.com ) the sub menu is right next to the photo.  This is happening on all of the pages on my site.  I have a margin on that div of 38px but for some reason it’s not being recognized.  Does anyone know what might be causing this or how to fix it.  The div I’m having an issue with is listed below.  Thanks!

#interior-main-col {
    
font-family: Verdana, Arial, Helvetica, sans-serif;  
    
float: right;
    
display: inline;
    
position: relative;
    
width: 268px;
    
margin:0 38px 0 0;
    
padding: 0;
}

Profile
 
 
Posted: 25 June 2008 09:42 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
RankRank
Total Posts:  123
Joined  07-25-2007

Finally figured it out after stripping out virtually all the CSS and HTML. I had to remove display:inline-block; from one of the containing divs.  Still seems strange that Firefox 3 would render the site differently the Firefox 2.

Profile
 
 
Posted: 25 June 2008 11:58 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1994
Joined  05-07-2007

I haven’t tried it, as I think FF 3.0 is still in Beta, but I have heard from some friends that it still has a tendency to puke on things that FF 2 doesn’t…

for what it’s worth…


-greg

 Signature 
Profile
MSG
 
 
Posted: 26 June 2008 12:31 AM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004
Greg A. - 25 June 2008 11:58 PM

I haven’t tried it, as I think FF 3.0 is still in Beta,

Nope - there was a full release last week.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 26 June 2008 12:36 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1994
Joined  05-07-2007

Ohh..good to know.  thanks grin

-greg

 Signature 
Profile
MSG
 
 
Posted: 27 June 2008 03:35 AM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  50
Joined  06-23-2008

yeah, I think it’s finally fixed that bug that would crash FF if you had firebug installed and a site threw up JS errors. that used to p**s me off…

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64908 Total Logged-in Users: 38
Total Topics: 81852 Total Anonymous Users: 23
Total Replies: 440060 Total Guests: 221
Total Posts: 521912    
Members ( View Memberlist )