473,388 Members | 1,524 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,388 software developers and data experts.

Styling in Firefox

Jon
Hello all.

I'm having some problem with CSS errors.

In IE, everything looks great, but in FF the footer is appearing in
the middle of the site.

The link which is causing the problems is below:

www dot nantwichonline dot com/Establishment.aspx?id=1

You can see that the orange links appear in the middle of the screen,
but should be at the bottom.

I've replaced the . with dot as I don't wish look like I'm trying to
drive taffic.

Can anyone please advise as I'm pulling my hair out!

Thanks,

Jon

Oct 16 '07 #1
5 1831
On Tue, 16 Oct 2007 16:27:42 +0200, Jon <Jo*******@gmail.comwrote:
Hello all.

I'm having some problem with CSS errors.

In IE, everything looks great, but in FF the footer is appearing in
the middle of the site.

The link which is causing the problems is below:

www dot nantwichonline dot com/Establishment.aspx?id=1

You can see that the orange links appear in the middle of the screen,
but should be at the bottom.

I've replaced the . with dot as I don't wish look like I'm trying to
drive taffic.

Can anyone please advise as I'm pulling my hair out!
Fix these first:
http://validator.w3.org/check?verbos....aspx%3Fid%3D1

The quick reason for different behaviour besides tagsoup btw: MSIE
incorrectly stretches the container to contain floats, Firefox doesn't.
--
Rik Wasmus
Oct 16 '07 #2
Jon pisze:
Hello all.

I'm having some problem with CSS errors.

In IE, everything looks great, but in FF the footer is appearing in
the middle of the site.

The link which is causing the problems is below:

www dot nantwichonline dot com/Establishment.aspx?id=1

You can see that the orange links appear in the middle of the screen,
but should be at the bottom.

I've replaced the . with dot as I don't wish look like I'm trying to
drive taffic.

Can anyone please advise as I'm pulling my hair out!

Thanks,

Jon


in:

..post {...} in style.css

get rid of: height:160px;

and add: overflow:hidden;
to force float clearing.

And read this:
http://www.positioniseverything.net/easyclearing.html
to read how floats behave
--
Janusz 'Kali' Kaliszczak
Hint: OdpisujÄ…c na priva zdebuguj adres
Oct 16 '07 #3
Jon wrote:
I'm having some problem with CSS errors.
Your CSS validates, but your (X)HTML has errors.

<http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.nantwichonlin e.com%2FEstablishment.aspx%3Fid%3D1>
"This page is not Valid XHTML 1.0 Strict!
Result: Failed validation, 29 Errors"
In IE, everything looks great, but in FF the footer is appearing in
the middle of the site. The link which is causing the problems is below:

www dot nantwichonline dot com/Establishment.aspx?id=1

You can see that the orange links appear in the middle of the screen,
but should be at the bottom.
First things first. Fix the errors and try again. Not all browsers
compensate for author mistakes in the same fashion.

Oh, and please fix the font size, so the majority of humans with average
eyesight can read it. font: 0.74em is only 3/4th of my default size.
http://k75s.home.att.net/fontsize.html

--
-bts
-Motorcycles defy gravity; cars just suck
Oct 16 '07 #4
Jon wrote:
Hello all.

I'm having some problem with CSS errors.

In IE, everything looks great, but in FF the footer is appearing in
the middle of the site.

Not is IE7, looks just like FF! (Looks a you "wish" in IE6), but your in
quirks mode so chances are it ain't going to happen. Need to fix your
makeup.

http://validator.w3.org/check?verbos....aspx%3Fid%3D1
[Invalid] Markup Validation of
http://www.nantwichonline.com/Establishment.aspx?id=1 - W3C Markup Validator

>
The link which is causing the problems is below:

www dot nantwichonline dot com/Establishment.aspx?id=1

You can see that the orange links appear in the middle of the screen,
but should be at the bottom.

I've replaced the . with dot as I don't wish look like I'm trying to
drive taffic.
No need we can see this is a legitimate question, no real need to munge
the address.
>
Can anyone please advise as I'm pulling my hair out!
Also markup is just....hmmm well not really very good. You create pseudo
heading with <band <br>'s where you should use <h#>, stuff like this:

<p><strong></strong></p>

Overly complicated nested <div>'s and <span>'s

Here is a bad start:

body {
padding: 0;
margin: 0;
font: 0.74em Arial, Helvetica, sans-serif;
^^^^
Don't start out with micro text...

and all your block are defined in pixels, guess what happens when you
enlarge the text?

So the point of my litany here is you could spend a tremendous amount of
time chasing the one(or more factors) that is causing the problem. I'd
say better to start a fresh, and do so more simply and with semantic
markup. Avoid quirks mode because once triggered inter-browser
inconsistency will be lost. Fix your errors. Do not design with IE6 and
then check with Firefox for problems but start the other way around.
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Oct 16 '07 #5
Jon
On 16 Oct, 16:54, "Jonathan N. Little" <lws4...@centralva.netwrote:
Jon wrote:
Hello all.
I'm having some problem with CSS errors.
In IE, everything looks great, but in FF the footer is appearing in
the middle of the site.

Not is IE7, looks just like FF! (Looks a you "wish" in IE6), but your in
quirks mode so chances are it ain't going to happen. Need to fix your
makeup.

http://validator.w3.org/check?verbos...2Fwww.nantwich...
[Invalid] Markup Validation ofhttp://www.nantwichonline.com/Establishment.aspx?id=1- W3C Markup Validator
The link which is causing the problems is below:
www dot nantwichonline dot com/Establishment.aspx?id=1
You can see that the orange links appear in the middle of the screen,
but should be at the bottom.
I've replaced the . with dot as I don't wish look like I'm trying to
drive taffic.

No need we can see this is a legitimate question, no real need to munge
the address.
Can anyone please advise as I'm pulling my hair out!

Also markup is just....hmmm well not really very good. You create pseudo
heading with <band <br>'s where you should use <h#>, stuff like this:

<p><strong></strong></p>

Overly complicated nested <div>'s and <span>'s

Here is a bad start:

body {
padding: 0;
margin: 0;
font: 0.74em Arial, Helvetica, sans-serif;
^^^^
Don't start out with micro text...

and all your block are defined in pixels, guess what happens when you
enlarge the text?

So the point of my litany here is you could spend a tremendous amount of
time chasing the one(or more factors) that is causing the problem. I'd
say better to start a fresh, and do so more simply and with semantic
markup. Avoid quirks mode because once triggered inter-browser
inconsistency will be lost. Fix your errors. Do not design with IE6 and
then check with Firefox for problems but start the other way around.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Thank you to everyone who has help. We've fixed a number of issues and
are working though the rest.

All the best,

Jon

Oct 16 '07 #6

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

Similar topics

2
by: johnSteve | last post by:
Do I have this right? The only way to get a valid (css and html), colored, Horizontal Rule to look and act same in both Firefox and IE6,with a strict doctype, wrap the HR in a separate div,...
10
by: bnmm | last post by:
Hello, I'd like to style a submit button as regular text link. demo: www.byteshift.de/msg/div/input-as-link-by-css (XHTML strict) I applied "display:inline; margin:0; padding:0;" to both the...
10
by: Thomas Mlynarczyk | last post by:
Hi, Can I style the root element (HTML) just like any other (and will it work as expected) or are there restrictions to take into account? Thanks in advance, Thomas
10
by: matt_randle | last post by:
Hi, I have a problem styling a definition list. If you look at http://68.178.211.60/MattRandle/Guides/Plants/MarginalsNZ.htm you will see the effect I am trying to achieve. If, however,...
6
by: Peter Marquis-Kyle | last post by:
I have an ordered list which is rendered in IE and Firefox with the item numbers indented from the left margin. I'd like the numbers to be positioned on the left margin. The list is in the main...
4
by: Eric Lindsay | last post by:
Although http://www.w3.org/Style/LieBos2e/enter/ say "The title of a document does not show up on the canvas, so it is not affected by CSS styles", there is a note by Seamus P. H. Leahy on styling...
4
Samji
by: Samji | last post by:
Hello everyone. I am trying to write out the contents of a tag in an XML document to an iframe. I can do that successfully with the following code... function constructMsgBody() { //...
3
by: Momomo | last post by:
Hi, I am having a problem with a control which is caused by a style on the page which I am not able to trace. If I use the control in a page without any styling it looks ok. Is there a way to...
40
by: Jukka K. Korpela | last post by:
My basic style sheet has a distinctive background and border for forms, to make the structure clearer and to make it visually evident what belongs to a form. However, as people complained that...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.