HighDots Forums  

Firefox & IE6 render differently

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Firefox & IE6 render differently in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andy Stevenson
 
Posts: n/a

Default Firefox & IE6 render differently - 02-18-2006 , 05:49 AM






Hello all,



Some help would be appreciated, I'm a little new at this & I've run out of
ideas to fix it.



This web page: http://www.stevenson-central.com/servos/servos.shtml when
viewed in Firefox looks fine. When in IE6 however the two input boxes for
Min Speed & Min Torque appear too far to the right. I have no idea what's
making that happen.



I'm assuming it's a CSS problem, as they both look the same without CSS. The
CSS file can be found here:
http://www.stevenson-central.com/servos/css/style.css



Both web page & style sheet validate ok at w3c.



Thanks.


--
"A little pain never hurt anyone" Sam aged 11.



Reply With Quote
  #2  
Old   
Steve Pugh
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-18-2006 , 07:01 AM






Andy Stevenson wrote:

Quote:
This web page: http://www.stevenson-central.com/servos/servos.shtml when
viewed in Firefox looks fine. When in IE6 however the two input boxes for
Min Speed & Min Torque appear too far to the right. I have no idea what's
making that happen.

I'm assuming it's a CSS problem, as they both look the same without CSS. The
CSS file can be found here:
http://www.stevenson-central.com/servos/css/style.css
Looks like one of IE's many float bugs. Remove the float: right from
the span.field rule - it's not needed.

Also, why <span class="label"> when there's a perfectly good <label>
element to use?

Quote:
Both web page & style sheet validate ok at w3c.
Yes, but as you have XHTML inside an HTML document that's purely
because some XHTML looks like some HTML even if it means something
entirely different. <input /> should be <input> in HTML, unless you
really wanted to write <input>> in which case you must be wondering why
your > aren't showing up on the page...

Steve



Reply With Quote
  #3  
Old   
Ed
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-18-2006 , 07:12 AM



Andy Stevenson wrote:
Quote:
Hello all,



Some help would be appreciated, I'm a little new at this & I've run out of
ideas to fix it.



This web page: http://www.stevenson-central.com/servos/servos.shtml when
viewed in Firefox looks fine. When in IE6 however the two input boxes for
Min Speed & Min Torque appear too far to the right. I have no idea what's
making that happen.



I'm assuming it's a CSS problem, as they both look the same without CSS. The
CSS file can be found here:
http://www.stevenson-central.com/servos/css/style.css



Both web page & style sheet validate ok at w3c.



Thanks.


It doesn't look fine in Firefox to me!

Shouldn't the words 'Min Speed:' appear on the same line?

Same with the words 'Min Torque:'.

Yours truly,
Ed


Reply With Quote
  #4  
Old   
Andy Stevenson
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-18-2006 , 02:04 PM



[snip]
Quote:
Looks like one of IE's many float bugs. Remove the float: right from
the span.field rule - it's not needed.

Great! That's fixed it, thanks.

Quote:
Also, why <span class="label"> when there's a perfectly good <label
element to use?

Excellent question, markup altered. In my defence, I'm still on the learning
curve here. The HTML & CSS for form layout came from a tutorial. The <label>
element makes loads more sence now you point it out, thanks.

Quote:
Both web page & style sheet validate ok at w3c.

Yes, but as you have XHTML inside an HTML document that's purely
because some XHTML looks like some HTML even if it means something
entirely different. <input /> should be <input> in HTML, unless you
really wanted to write <input>> in which case you must be wondering why
your > aren't showing up on the page...

Right, it started out as XHTML. while searching for a solution the the
"float" problem I came across a post suggesting changing the doctype to HTML
4.01 strict. I tried this & then ran it through the validator & corrected
the errors it threw at me, assuming if it validated I'd be ok. It didn't
work, but I forgot to change the doctype back. Now done.

Many thanks for your input on this Steve, much appriciated.

Andy.




Reply With Quote
  #5  
Old   
Andy Stevenson
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-18-2006 , 02:07 PM



[snip]
Quote:
It doesn't look fine in Firefox to me!

Shouldn't the words 'Min Speed:' appear on the same line?

Same with the words 'Min Torque:'.

Yours truly,
Ed
Sorry Ed, don't quite follow you here. They appear on the same line as their
input boxes & descriptions in my Firefox.

Andy.




Reply With Quote
  #6  
Old   
Steve Pugh
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-18-2006 , 03:10 PM



Andy Stevenson wrote:
Quote:
Ed wrote:
[snip]
It doesn't look fine in Firefox to me!

Shouldn't the words 'Min Speed:' appear on the same line?

Same with the words 'Min Torque:'.

Sorry Ed, don't quite follow you here. They appear on the same line as their
input boxes & descriptions in my Firefox.
And what's you font size? Is it the same as Ed's? Over what range of
font sizes did you test your pages?

Steve



Reply With Quote
  #7  
Old   
Andy Stevenson
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-18-2006 , 03:23 PM



[snip]
Quote:
And what's you font size? Is it the same as Ed's? Over what range of
font sizes did you test your pages?

Steve

Ah, right, OK. See your point.

Andy.




Reply With Quote
  #8  
Old   
simon white
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-26-2006 , 03:48 PM




"Andy Stevenson" <no (AT) chance (DOT) pal> wrote

Quote:
Hello all,



Some help would be appreciated, I'm a little new at this & I've run out of
ideas to fix it.



This web page: http://www.stevenson-central.com/servos/servos.shtml when
viewed in Firefox looks fine. When in IE6 however the two input boxes for
Min Speed & Min Torque appear too far to the right. I have no idea what's
making that happen.



I'm assuming it's a CSS problem, as they both look the same without CSS.
The CSS file can be found here:
http://www.stevenson-central.com/servos/css/style.css



Both web page & style sheet validate ok at w3c.



Thanks.


--
"A little pain never hurt anyone" Sam aged 11.




Reply With Quote
  #9  
Old   
MisBehaving
 
Posts: n/a

Default Re: Firefox & IE6 render differently - 02-27-2006 , 12:16 PM



To Whom this may Concern:
May you please allow me the courtesy; of what this may be in
reference to??

Sincerely,
MisBehaving


Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.