473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Firefox & IE6 render differently

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.
Feb 18 '06 #1
8 1566
Andy Stevenson wrote:
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?
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

Feb 18 '06 #2
Ed
Andy Stevenson wrote:
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
Feb 18 '06 #3
[snip]
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.
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.
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.
Feb 18 '06 #4
[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:'.

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.
Feb 18 '06 #5
Andy Stevenson wrote:
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

Feb 18 '06 #6
[snip]
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.
Feb 18 '06 #7

"Andy Stevenson" <no@chance.pal> wrote in message
news:dt**********@slavica.ukpost.com...
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.

Feb 26 '06 #8
To Whom this may Concern:
May you please allow me the courtesy; of what this may be in
reference to??

Sincerely,
MisBehaving

Feb 27 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: B Wooster | last post by:
There is a page that shows Firefox 1.0 render text differently for CSS as compared to FONT FACE for one particular font: http://www.aczoom.com/fonts/xdvng.ttf is the font that does not work. ...
87
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position:...
14
by: expertware | last post by:
Ok! to avoid confusion I will start a new argument. Thanks!! FIREFOX 1.0.7 AND IE6 viewed through DATATIME: a summary REPORT ===============================================================...
3
by: Dave | last post by:
I am designing a web page using VS2003 ASP.NET. The page contains various DIVs (panels), one of which is in grid layout. The controls in this DIV render correctly in IE, but when using Firefox they...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.