Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 04-26-2007, 10:57 AM
Junior Member
 
Join Date: 04-24-07
Posts: 11
iTrader: 0 / 0%
CSS: problem with Firefox

Hey, I was wondering if anyone could take a look at this weird problem that I am having in Firefox 2.0.0.3 and Opera but not in IE6,7 or Mac IE.

http://www.hidfoglight.com/t3.html

This is a copy of the same box -- the top has a forced height: variable so that it shows what it is supposed to look like.

The section below is with no height defined or with height: inherit.

The page renders correctly in IE6 and 7 but not in Firefox and Opera. Any ideas would be greatly appreciated.

Thanks.

Aram
 
Reply With Quote
  #2 (permalink)  
Old 04-26-2007, 11:00 AM
nks's Avatar
nks nks is offline
Contributing Member
 
Join Date: 03-23-07
Location: Singapore
Posts: 823
iTrader: 0 / 0%
Oh, it does look weird to me in Firefox.... but I am currently running Linux. I'm not sure about the others.
 
Reply With Quote
  #3 (permalink)  
Old 04-26-2007, 12:13 PM
exam's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 04-20-06
Posts: 278
iTrader: 0 / 0%
Looks broken to me in FF 2.0.0.3, IE6 and Opera 9.20. You should probably start the design from nothing, while adding one style at a time and testing in all browsers at each stage.
__________________
~exam~
 
Reply With Quote
  #4 (permalink)  
Old 04-26-2007, 12:56 PM
Arenlor's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 01-02-07
Location: PA, USA
Posts: 191
iTrader: 0 / 0%
It's broken in IE7 to me too, along with Opera and FF. http://validator.w3.org/check?verbos....com%2Ft3.html Mr. Validator thinks you have lots of issues, especially the <script> beneath the closing html tag.
__________________
Need a page made? Draw a diagram, I suggest using Paint, show the picture with your post, it'll help a lot more than you think. Other questions? Draw a diagram for that too!
 
Reply With Quote
  #5 (permalink)  
Old 04-26-2007, 01:26 PM
Junior Member
 
Join Date: 04-24-07
Posts: 11
iTrader: 0 / 0%
Quote:
Originally Posted by Arenlor View Post
It's broken in IE7 to me too, along with Opera and FF. http://validator.w3.org/check?verbos....com%2Ft3.html Mr. Validator thinks you have lots of issues, especially the <script> beneath the closing html tag.
Weird, works for me under IE7. -- Let me clarify, both top and bottom boxes do render fully -- the bottom (This is some extra text....) does appear 1/5 of the way down overlapping the bottom box -- but that's probably because I don't have a "clear: both" before it.

Ignore the validators, sadly its yahoo hosted and they seem to love to put in their own code after the page has ended so the validators are going to complain about 7 or 8 things that are outside of my control.

Aram
 
Reply With Quote
  #6 (permalink)  
Old 05-06-2007, 08:14 PM
Junior Member
 
Join Date: 04-24-07
Posts: 11
iTrader: 0 / 0%
Post Solution

My apologies, forgot to post the final finding until now.

it turned out that, FF/IE/OP interpet the following differently.

Code:
#middle { width: 1000px; height: auto; overflow: hidden; }
FF doesn't seem to calculate the height correctly, it should be about 420px and it figured it out as 120px, which is probably the size of the number of <p> variables. Not sure how it is coming up with that number. This has been checked up to version FF 2.0.0.3. Same issue with Opera 9.

IE does calculate it correctly.

So the question is, is this a IE feature or a Gecko engine bug? I looked at the bugtracker info for Gecko and there are a bunch of "height" bugs, not sure if any of them covers this though.

Aram
 
Reply With Quote
  #7 (permalink)  
Old 05-27-2007, 11:51 PM
Contributing Member
Latest Blog:
None

 
Join Date: 05-06-07
Posts: 84
iTrader: 0 / 0%
I see all corect with IE6 but the header.
I can see the images on the header, and if I check the root of this image it tells your code is: http:///tImages/logo.gif So please check your image link again.
 
Reply With Quote
  #8 (permalink)  
Old 05-28-2007, 06:24 AM
Junior Member
 
Join Date: 04-24-07
Posts: 11
iTrader: 0 / 0%
Quote:
Originally Posted by alainkun View Post
I see all corect with IE6 but the header.
I can see the images on the header, and if I check the root of this image it tells your code is: http:///tImages/logo.gif So please check your image link again.
You're so late to the party it isn't even funny. What you're seeing is the 404 ERROR page since that test page doesn't exist anymore.

The page is all relative so if one of the images didn't load it sounds like you just need to reload. There are no static links in that page.

Aram
 
Reply With Quote
  #9 (permalink)  
Old 05-28-2007, 10:11 PM
Contributing Member
Latest Blog:
None

 
Join Date: 05-06-07
Posts: 84
iTrader: 0 / 0%
Its not correct. I could see your webpage correctly with firefox but not with IE6.

I could see your header with asian girls with Firefox but not with IE
 
Reply With Quote
  #10 (permalink)  
Old 05-29-2007, 12:25 AM
kos's Avatar
kos kos is offline
Coding Tiger
Latest Blog:
Happy New Year 2013

 
Join Date: 04-13-07
Location: .ro
Posts: 4,030
iTrader: 3 / 100%
Maybe I'm wrong, but I wonder:
Quote:
Why do you set the overflow attribute, when you have height: auto?
Quote:
#middle {
width: 1000px;
height: auto;
overflow: hidden;
}
 
Reply With Quote
  #11 (permalink)  
Old 05-29-2007, 04:15 AM
Junior Member
 
Join Date: 04-24-07
Posts: 11
iTrader: 0 / 0%
Quote:
Originally Posted by alainkun View Post
Its not correct. I could see your webpage correctly with firefox but not with IE6.

I could see your header with asian girls with Firefox but not with IE
What exact version of IE6 are you using? I have tried 2 or 3 of them and they all work fine.

Is it just the 404 page or any page?

If possible could you PM me your IP so I can look it up on the logs to see what's going on?

Thanks.
 
Reply With Quote
  #12 (permalink)  
Old 05-29-2007, 04:17 AM
Junior Member
 
Join Date: 04-24-07
Posts: 11
iTrader: 0 / 0%
Quote:
Originally Posted by costin_trifan View Post
Maybe I'm wrong, but I wonder:
No real reason, just testing. Trying to see what would cause one browser to fail to create the proper box around the items.

I found that block as part of the bug in bugzilla so I posted it exactly.
 
Reply With Quote
  #13 (permalink)  
Old 05-29-2007, 04:29 AM
kos's Avatar
kos kos is offline
Coding Tiger
Latest Blog:
Happy New Year 2013

 
Join Date: 04-13-07
Location: .ro
Posts: 4,030
iTrader: 3 / 100%
Quote:
Originally Posted by aram535 View Post
No real reason, just testing. Trying to see what would cause one browser to fail to create the proper box around the items.

I found that block as part of the bug in bugzilla so I posted it exactly.
I see...

Thank you.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Freezing Problem DOS Tech Talk 58 09-14-2011 12:31 AM
Problem with css in firefox and safari amxcorey Coding Forum 11 01-17-2008 06:51 AM
different firefox problem ball420 Web Design Lobby 5 08-07-2007 11:53 AM
Firefox VS IE alignment problem DJ-Craig Coding Forum 12 06-14-2007 03:18 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:47 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.