473,406 Members | 2,439 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,406 software developers and data experts.

Firefox and IE Difference

Once again i am stumped trying to get my page to work in both IE and Firefox.

http://pshift.nrgservers.net/indextest.html

In IE 6.0 the banner image works perfecting but in IE 7.0 and Firefox it of course fails me. Maybe i should just tell all my users to stick with IE 6.0...i'm 2 for 2 for doing it right in there!

Also, this CSS template i downloaded scales the body of the site to whatever resolution your monitor is on. Is their anyway i could edit it to basically stay at 1024 width and so the default blackground will just fill the sides on bigger resolutions?

I know its gotta be something in this line
Expand|Select|Wrap|Line Numbers
  1. <!-- zero margin = wide layout -->
  2. <body style="margin: 0;">
  3.  
Thanks in Advance
Apr 1 '07 #1
9 2148
drhowarddrfine
7,435 Expert 4TB
The only way this would look right in IE6 but not the others is if it was designed using IE6 which is backwards from how it should be done; IE is just one big bug.

Validate and fix your html errors, though the missing class names are not a problem.

To get your content to center, you would normally just try margin:0 auto; in your css but this didn't work so there is more involved than I have time for right now.
Apr 1 '07 #2
You may want to start with validating your script and then working from there.
Apr 1 '07 #3
i've run it through http://validator.w3.org/ now and the only 2 errors (other then like 6 about one hyperlink...which i'm not sure i understand because its just the address of the link and the link works) are Align errors...i've added the align in using Dreamweaver to help center some object and as far as i know that's the only way to do it...
Still the image for my header has no errors yet still on firefox does not fix into the frame.
Apr 1 '07 #4
KevinADC
4,059 Expert 2GB
have you tried removing this line from the .nav section of the style sheet:

Expand|Select|Wrap|Line Numbers
  1.     float: left;
Apr 1 '07 #5
Just did and it just changed the nav buttons really. Unforunately i know nothing really of .CSS sheets and used this one as my guide. Orignally where the picture was there is just suppose to be text. there must be something i missing in the default.css file that controls the size on that space. Not really sure why IE6 adjust the header to fix the picture and yet Firefox, IE7 just totally let it overlap into the nav panel and body =(
Apr 1 '07 #6
And as i post that it totally hits me to maybe go change the height of the header in the .css file to the height size of the banner and then BAM it works perfectly.

I know you guys are like "WHAT A NOOB" yeah its true....but just talking about it with all of you helps me learn more and more each time.

Thank You!
Apr 1 '07 #7
drhowarddrfine
7,435 Expert 4TB
What a noob.
Apr 2 '07 #8
jhardman
3,406 Expert 2GB
i've run it through http://validator.w3.org/ now and the only 2 errors (other then like 6 about one hyperlink...which i'm not sure i understand because its just the address of the link and the link works) are Align errors...i've added the align in using Dreamweaver to help center some object and as far as i know that's the only way to do it...
Still the image for my header has no errors yet still on firefox does not fix into the frame.
by the way, the several errors in the link are caused by the use of the ampersand which is supposed to be used to denote the beginning of a special character. The link should use "&amp;" in those cases (and will still work just as well). I believe it is feared that someone will pass a variable in the url like this:
[HTML]href="default.php?action=openSesame&copy=fromStart "[/HTML]and some browser will interpret the "&copy" as the copyright sign. Personally I grumbled quite a bit when this error came up on one of my pages with tabular data. Since each row of the data had a similar link and each link produced several errors, I had to fix all of them before I could even hope to find the real errors. I think the validator reported over 1000 errors. Top that!

Anyway, your site looks cool.

Jared
Apr 2 '07 #9
Pretty nice design. It is not exactly my style but who cares because it seems to work pretty good.
Apr 2 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jeremy Epstein | last post by:
I've got a 4-page form that lets users enter a whole lot of information, which is then submitted and emailed at the end. All the fields are stored as session data. The whole thing works fine: ...
5
by: news | last post by:
I've a site: http://gto.ie-studios.net/products.php that looks perfectly fine in Windows whether with IE or Firefox 1.0. But when viewed in the Linux version of Firefox 1.0, images get misaligned...
17
by: pasdecrap | last post by:
The following code will produce similar results in IE6 and firefox 1.0.4 however the left margin in FF is 4 pixels and in IE it is 5. Can anyone see why this is happening? I can't seem to figure...
6
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the...
23
by: AJBopp | last post by:
Ok, I'm trying to be a good little boy and create a site that doesn't use frames :) Things were going along decently until I uploaded what little I have done so far to the web server (that is,...
25
by: Frances | last post by:
I have an html file, checked css syntax online (http://jigsaw.w3.org/css-validator/validator-uri.html.en) it all checks fine, got no errors or warnings.. however Firefox is not reading...
5
by: Peter Reinhardt | last post by:
HI, there must be a difference in handling the window.onunload-Event for the two webbrowsers. I have a window, that shows the uptodate-state of the logged in members. The state (is active / is...
4
by: petermichaux | last post by:
Hi, I'm hoping for a reason I'm wrong or an alternate solution... I'd like to be able to dynamically include some javascript files. This is like scriptaculous.js library but their solution is...
9
by: =?Utf-8?B?Sm9obiBCYWlsZXk=?= | last post by:
I have a ASP .Net page that allows moving around items on the page through javascript. This page works fine in IE. In FireFox however, I have found that if the page is using XHTML 1.0...
2
by: Joe Stateson | last post by:
Not sure what is going on. I have a treeview of an XmlDataSource with cacheing enabled. With only a few nodes there is no problem on a postback, the treeview is repainted immediately. With a lot...
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.