FF and IE6 issues
Posted: 27 May 2008 07:41 AM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  02-01-2008

I’m trying to wrap up my first EE project…...

http://www.firenews.net/index.php

I had some IE6 issues that I solved using

display: inline;

so if you have some positioning issues with IE6, you might try that fix.

Anyway, I’m seeing two issues now, one in FireFox, the other IE6.

FF issue:

Some of the pages at the top and bottom of the white space of the page kick in just a little space, which renders in the background gray color. Is this perhaps a carriage return or similar issue? It’s not appearing on all the pages. This does not happen in IE7.

IE6 issue:

It’s a centered layout, but the only thing centering is the footer. The main body of the page is kicking off to the left for some reason.

Thanks in advance,

Jeff

Profile
 
 
Posted: 27 May 2008 07:46 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  881
Joined  02-15-2008

Can you post the page so we can see it, as it’s a little difficult to diagnose otherwise.

And display:inline just changes the way an element is rendered to screen, it’s not so much a fix as a “might work in your situation” thing.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 27 May 2008 08:27 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  02-01-2008

http://www.firenews.net/index.php

(Did you want the CSS?)

Profile
 
 
Posted: 27 May 2008 08:40 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  881
Joined  02-15-2008

Nope, link is fine. OK, first your FF issue - you have a margin-top of 15px on div#spot_one. That’s causing the gap, if you change it to padding it should resolve it. The gap at the bottom comes from p.pages, and adding margin-bottom:0 sorts that one out.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 27 May 2008 10:16 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  02-01-2008

I also had a p tag that wasn’t closed, so now all the FF gaps are gone!

Profile
 
 
Posted: 28 May 2008 10:32 AM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  02-01-2008

Still having this issue in IE6:

IE6 issue:

It’s a centered layout, but the only thing centering is the footer. The main body of the page is kicking off to the left for some reason.


(All FF issues fixed, thanks!)

Profile
 
 
Posted: 28 May 2008 10:36 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  881
Joined  02-15-2008

I don’t have ie6 handy at the mo - one point though, depending on which method you’re using for centering. If you’re using margin:0 auto, I believe making that element display:inline will stop it from centering. So your previous ‘fix’ might be causing it.

I can have a look later if you get no luck.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 28 May 2008 12:31 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  02-01-2008

I am using “margin-left: auto;” and “margin-right: auto;”......

The “display:inline;” is only being used in relation to photo positioning.

Profile
 
 
Posted: 28 May 2008 12:57 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  02-01-2008

Here was the fix that worked:

#wrapper {
      width: 760px;
  position: relative;
      left: 50%;
  margin-left: -380px;
}

Profile
 
 
Posted: 28 May 2008 01:24 PM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  254
Joined  03-23-2006

Glad you found a fix, I vaguely remember that a second way to fix the same IE6 problem goes like this:

body{
text
-align: center;
}
#wrapper
margin:      0pt auto;
text-align:  left;
width:       760px;
}

For some obscure reason IE6 will actually center the wrapper if the containing element is set to text-align:center; even though it is centering an element. All other browsers will still set the text align, but you are setting it right back in the wrapper.
So in a sense its a hack, but you don’t need to hide it.

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: 64909 Total Logged-in Users: 46
Total Topics: 81853 Total Anonymous Users: 29
Total Replies: 440068 Total Guests: 226
Total Posts: 521921    
Members ( View Memberlist )