Log in

View Full Version : works in IE alignment wrong in FF



Freeman
02-09-2007, 12:55 AM
Here is the sight. (http://campion.net/new/) In IE it looks fine but in Firefox it is aligned differently. What can I do to fix this? And what is the script for no repeat on the Header background? Thanks for the help, JF

boxxertrumps
02-09-2007, 02:22 AM
background-position:center center;background-repeat:no-repeat;

Freeman
02-11-2007, 10:44 PM
Why is it that it dosen't keep its alignment in FF?

boxxertrumps
02-11-2007, 11:00 PM
Actually, firefox is displaying it the correct way, ontop of your pages being thrown into quirksmode (No doctype).
try validating your pages and youll get what i mean.
http://validator.w3.org/

Freeman
02-11-2007, 11:13 PM
What does it mean when "no characer encoding found! falling back to UTF-8?"
Looks like I have a lot of validation work to do.

boxxertrumps
02-11-2007, 11:35 PM
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>

this is used with Xhtml, you put it in your head tag.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

the same, but for html.

you have to make sure you have a doctype, correct syntax etc is you want your pages to validate. once your pages are validated, the should display more or less the same in all browsers.

Freeman
02-13-2007, 09:38 PM
So I was checking my pages with the WC3 validator and I couldn't get it to stop showing errors. Then I had the great idea of looking at other websites pages to see how they did with the validator. All the web pages I checked had at least twice as many errors, some having ten times as many. Is it really worth it to use this site?

jscheuer1
02-13-2007, 09:56 PM
So I was checking my pages with the WC3 validator and I couldn't get it to stop showing errors. Then I had the great idea of looking at other websites pages to see how they did with the validator. All the web pages I checked had at least twice as many errors, some having ten times as many. Is it really worth it to use this site?

It is if you want what you do in your style and markup to follow any sort of logic that can be dealt with across browsers on a consistent basis. Otherwise, you are essentially designing in quirks mode, basically trial and error, having to constantly check your page(s) in the various target browsers to see how they look.

Once you validate, the differences should be minimal, if any and usually easily corrected.

Freeman
02-13-2007, 11:57 PM
Otherwise, you are essentially designing in quirks mode, basically trial and error, having to constantly check your page(s) in the various target browsers to see how they look.

If it is going to take me more time to validate all of my pages it is not worth my time to do so. It isn't very difficult opening a page with two different browsers and doing so save me hundreds of hours of correcting errors. If this was my site to begin with I probably could have avoided this problem in the first place. JF

boxxertrumps
02-14-2007, 12:13 AM
usually validating your source is worth it. the time spent going through with quirksmode and getting your site to run that way will take more time.

if you don't want to, I will. i hate it when sites are invalid...