Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Firefox is letting me down again!
Old 11-03-2006, 08:24 PM Firefox is letting me down again!
Junior Talker

Posts: 2
Trades: 0
Basically, I need firefox to render the stuff below the same way
IE renders it. Here's the code:

HTML Code:
<div style="width:750px;background:#EEE">
<div style="width:200px;height:200px;float:left;background:#F00;">a</div>
<div style="width:200px;height:200px;float:left;background:#0F0;clear:left">b</div>
<div style="width:200px;height:400px;float:left;background:#00F;">c</div>
<div style="clear:both"><div>
</div>
IE renders c at the same level as a, instead of b. This is probably
due to another bug of IE, maybe IE is not following W3C's rules again.
But it does the work!
Please also note that the code for a, b and c are going to be generated
dynamically by my application. This may be the real problem!
mwan0061 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-04-2006, 02:39 AM Re: Firefox is letting me down again!
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
This part in your b div is the problem:
Code:
clear:left

I'm not sure why IE is ignoring it: it usually doesn't. Take that out and see what happens.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-04-2006, 03:10 AM Re: Firefox is letting me down again!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
IE is leading you down the wrong route not FF

to make them both render the same use;
HTML Code:
<div style="width:750px;background:#EEE">
<div style="float:left;">
<div style="width:200px;height:200px;background:#F00;">a</div>
<div style="width:200px;height:200px;background:#0F0;">b</div>
</div>
<div style="width:200px;height:400px;float:left;background:#00F;">c</div>
<div style="clear:both">
</div>
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-04-2006, 07:26 AM Re: Firefox is letting me down again!
Average Talker

Posts: 18
Name: Chris
Trades: 0
Trying coding your site for Firefox using the W3C Recommendations then use some IE work arounds to make the page display in IE. I had this problem on one of my old sites and using position:relative helps and using percentages also helps a lot.
There are loads of sites telling you about IE workarounds in CSS. Hopefully IE7 will be a little more compliant with standards. Whats the point in having a browser that ignores the standards???
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
cmjphp is offline
Reply With Quote
View Public Profile
 
Old 11-05-2006, 09:50 AM Re: Firefox is letting me down again!
Junior Talker

Posts: 2
Trades: 0
Thanks all the same for the help. Here's the solution given by some guy from the Scillicon Valley.

HTML Code:
<div style="width:750px;background:#EEE">
  <div style="width:200px;height:200px;float:left;background:#F00;">a</div>
  <div style="width:200px;height:200px;float:left;background:#0F0;margin:200px 0 0 -200px;">b</div>
  <div style="width:200px;height:400px;float:left;background:#00F;">c</div>
  <div style="clear:both"></div>
</div>
mwan0061 is offline
Reply With Quote
View Public Profile
 
Old 11-05-2006, 12:23 PM Re: Firefox is letting me down again!
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I don't know how that's supposed to work, when the top margin for b differs from that of the top margin of a.

I thought you were trying to get A, B, and C to render at the same level across.

Your code and what you're trying to accomplish are both confusing.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Firefox is letting me down again!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16792 seconds with 12 queries