Results 1 to 10 of 10

Thread: works in IE alignment wrong in FF

  1. #1
    Join Date
    Aug 2005
    Posts
    200
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default works in IE alignment wrong in FF

    Here is the sight. 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

  2. #2
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    background-position:center center;background-repeat:no-repeat;
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  3. #3
    Join Date
    Aug 2005
    Posts
    200
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Why is it that it dosen't keep its alignment in FF?

  4. #4
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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/
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  5. #5
    Join Date
    Aug 2005
    Posts
    200
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  6. #6
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    <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.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  7. #7
    Join Date
    Aug 2005
    Posts
    200
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Freeman View Post
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Aug 2005
    Posts
    200
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    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

  10. #10
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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...
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •