Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    9
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Post HTML Cross browser help!!!

    Hey! i have been working on this site (www.bezerkyjerky.com) and it looks perfect in all browsers except for internet explorer. i know the coding is terrible but i am just beggining so if there is anyway you guys could help me it would be muchly appreciated! thanks!

  • #2
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    As a minimum you should put a DOCTYPE declaration at the top of the document. Otherwise IE will go into quirks mode.

    And you can't make up attributes like "LEFTMARGIN"

    Validate!
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS

  • Users who have thanked AndrewGSW for this post:

    danj1994 (08-07-2012)

  • #3
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    9
    Thanks
    3
    Thanked 0 Times in 0 Posts
    hi ! thanks so much for replying, yes i have tried placing a doc type at the top but it destroys the page and seperates it like internet explorer does? also all those codes i assume came through photoshop as i used the slicing method? how do i fix them?
    thanks!

  • #4
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    There should be no problem adding a DOCTYPE at the top of your document unless your using a CMS or framework that might interfere. The simplest example is for HTML5:

    Code:
    <!DOCTYPE html>
    <html>
    You could remove the body margins by editing your CSS:

    Code:
    body {
        margin: 0;
    }
    or, if you need to do it inline for some reason:

    Code:
    <body style="margin:0;" ...
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS

  • #5
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have the same problem on my site(http://www.rapidweightlossin31days.c...losscurereview). Its been difficult for me because I'm no expert. So building my site and with the learning curve its been rough. Oh well, got to keep crunching at it till its fixed.

  • #6
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    Firstly, never create a website based a table even if you're beginning - watch some tutorials on YouTube [check the upload date].

    Secondly, try to keep your image file sizes to a minimum users don't want to spending around 10-20minutes waiting for your page to load!

    Finally, check this validator and fine the errors on your website code and fix using guidance from - http://validator.w3.org/check?uri=ht...Inline&group=0

  • #7
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    9
    Thanks
    3
    Thanked 0 Times in 0 Posts
    hey guys, appreciate the help. i have changed the coding for the homepage and have validated it but it still looks messed up? anything else im doing rong? thanks heaps in advance!

  • #8
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    9
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Help!!

    any idea guys?? im really stuck at the moment!


  •  

    Posting Permissions

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